package thegroup.projectcddb.database;

import javax.ejb.EJBObject;
import java.rmi.RemoteException;

/**
 *  Interface with get methods
 *
 *@author    Diana Abbas <dabbas @ umail ucsb edu >
 *@author    Kyle Dorman <kyle_dorman @ umail ucsb edu>
 */
public interface CDEntryRemote extends EJBObject
{
	//note: no setID-this is the primary key
	//note: no set methods-changes are made through the database

	/**
	 *  Gets the Id attribute of the CDEntryRemote object
	 *
	 *@return                      The Id value
	 *@exception  RemoteException  Provides backward compatibility for enterprise beans
	 *
	 */
	public Integer getId() throws RemoteException;


	/**
	 *  Gets the DiscId attribute of the CDEntryRemote object
	 *
	 *@return                      The DiscId value
	 *@exception  RemoteException  Provides backward compatibility for enterprise beans
	 *
	 */
	public String getDiscId() throws RemoteException;


	/**
	 *  Gets the Title attribute of the CDEntryRemote object
	 *
	 *@return                      The Title value
	 *@exception  RemoteException  Provides backward compatibility for enterprise beans
	 *
	 */
	public String getTitle() throws RemoteException;


	/**
	 *  Gets the Year attribute of the CDEntryRemote object
	 *
	 *@return                      The Year value
	 *@exception  RemoteException  Provides backward compatibility for enterprise beans
	 *
	 */
	public String getYear() throws RemoteException;


	/**
	 *  Gets the Genre attribute of the CDEntryRemote object
	 *
	 *@return                      The Genre value
	 *@exception  RemoteException  Provides backward compatibility for enterprise beans
	 *
	 */
	public String getGenre() throws RemoteException;


	/**
	 *  Gets the ExtendedData attribute of the CDEntryRemote object
	 *
	 *@return                      The ExtendedData value
	 *@exception  RemoteException  Provides backward compatibility for enterprise beans
	 *
	 */
	public String getExtendedData() throws RemoteException;

}
