CDEntryBean

Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## freedb
Class CDEntryBean

    java.lang.Object
      freedb.CDEntryBean

All Implemented Interfaces:
  javax.ejb.EnterpriseBean, javax.ejb.EntityBean, java.io.Serializable

public class CDEntryBean
extends java.lang.Object
implements javax.ejb.EntityBean

Class which encapsulates the idea of a CD/Disc according to the data from an assocaited CDDB entry.

Author:
  diana abbas < dabbas @ umail ucsb edu >
See Also:
  `Track`, Serialized Form

Field Summary
`javax.ejb.EntityContext` | `context` Description of the Field
`private java.lang.String` | `extendedData` Extended data associated with the disc which may or may not exist
`private java.lang.String` | `genre` Genre of the disc
`private java.lang.String` | `id` The DISCID, essentially the primary key for this disc
`private java.lang.String` | `title` Title of the disc
`private java.lang.String` | `year` Year of the disc

Constructor Summary
`CDEntryBean()` Constructor for the CDEntryBean object

Method Summary
`void` | `ejbActivate()` Description of the Method
`void` | `ejbLoad()` Description of the Method
`void` | `ejbPassivate()` Description of the Method
`void` | `ejbRemove()` Description of the Method
`void` | `ejbStore()` Description of the Method
`java.lang.String` | `getExtendedData()` Gets the ExtendedData attribute of the CDEntry object
`java.lang.String` | `getGenre()` Gets the Genre attribute of the CDEntry object
`java.lang.String` | `getID()` Gets the Id attribute of the CDEntry object
`java.lang.String` | `getTitle()` Gets the Title attribute of the CDEntry object
`java.lang.String` | `getYear()` Gets the Year attribute of the CDEntry object
`void` | `setEntityContext(javax.ejb.EntityContext context)` Sets the EntityContext attribute of the CDEntryBean object
`void` | `setExtendedData(java.lang.String extendedData)` Sets the ExtendedData attribute of the CDEntry object
`void` | `setGenre(java.lang.String genre)` Sets the Genre attribute of the CDEntry object
`void` | `setId(java.lang.String id)` Sets the Id attribute of the CDEntry object
`void` | `setTitle(java.lang.String title)` Sets the Title attribute of the CDEntry object
`void` | `setYear(java.lang.String year)` Sets the Year attribute of the CDEntry object
`void` | `unsetEntityContext()` Description of the Method

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### context

    public javax.ejb.EntityContext context

  Description of the Field

  Since:
    empty

### id

    private java.lang.String id

  The DISCID, essentially the primary key for this disc

  Since:
    empty

### title

    private java.lang.String title

  Title of the disc

  Since:
    empty

### year

    private java.lang.String year

  Year of the disc

  Since:
    empty

### genre

    private java.lang.String genre

  Genre of the disc

  Since:
    empty

### extendedData

    private java.lang.String extendedData

  Extended data associated with the disc which may or may not exist

  Since:
    empty

Constructor Detail

### CDEntryBean

    public CDEntryBean()

  Constructor for the CDEntryBean object

Since:
  empty

Method Detail

### setId

    public void setId(java.lang.String id)

  Sets the Id attribute of the CDEntry object

  Parameters:
    `id` - The new Id value
  Since:
    empty

### setTitle

    public void setTitle(java.lang.String title)

  Sets the Title attribute of the CDEntry object

  Parameters:
    `title` - The new Title value
  Since:
    empty

### setYear

    public void setYear(java.lang.String year)

  Sets the Year attribute of the CDEntry object

  Parameters:
    `year` - The new Year value
  Since:
    empty

### setGenre

    public void setGenre(java.lang.String genre)

  Sets the Genre attribute of the CDEntry object

  Parameters:
    `genre` - The new Genre value
  Since:
    empty

### setExtendedData

    public void setExtendedData(java.lang.String extendedData)

  Sets the ExtendedData attribute of the CDEntry object

  Parameters:
    `extendedData` - The new ExtendedData value
  Since:
    empty

### setEntityContext

    public void setEntityContext(javax.ejb.EntityContext context)
                          throws javax.ejb.EJBException,
                                 java.rmi.RemoteException

  Sets the EntityContext attribute of the CDEntryBean object

  Specified by:
    `setEntityContext` in interface `javax.ejb.EntityBean`
  Parameters:
    `context` - The new EntityContext value
  Throws:
    `javax.ejb.EJBException` - Description of Exception
    `java.rmi.RemoteException` - Description of Exception
  Since:
    empty

### getID

    public java.lang.String getID()
                           throws java.rmi.RemoteException

  Gets the Id attribute of the CDEntry object

  Returns:
    The Id value
  Throws:
    `java.rmi.RemoteException` - Description of Exception
  Since:
    empty

### getTitle

    public java.lang.String getTitle()
                              throws java.rmi.RemoteException

  Gets the Title attribute of the CDEntry object

  Returns:
    The Title value
  Throws:
    `java.rmi.RemoteException` - Description of Exception
  Since:
    empty

### getYear

    public java.lang.String getYear()
                             throws java.rmi.RemoteException

  Gets the Year attribute of the CDEntry object

  Returns:
    The Year value
  Throws:
    `java.rmi.RemoteException` - Description of Exception
  Since:
    empty

### getGenre

    public java.lang.String getGenre()
                              throws java.rmi.RemoteException

  Gets the Genre attribute of the CDEntry object

  Returns:
    The Genre value
  Throws:
    `java.rmi.RemoteException` - Description of Exception
  Since:
    empty

### getExtendedData

    public java.lang.String getExtendedData()
                                     throws java.rmi.RemoteException

  Gets the ExtendedData attribute of the CDEntry object

  Returns:
    The ExtendedData value
  Throws:
    `java.rmi.RemoteException` - Description of Exception
  Since:
    empty

### unsetEntityContext

    public void unsetEntityContext()
                            throws javax.ejb.EJBException,
                                   java.rmi.RemoteException

  Description of the Method

  Specified by:
    `unsetEntityContext` in interface `javax.ejb.EntityBean`
  Throws:
    `javax.ejb.EJBException` - Description of Exception
    `java.rmi.RemoteException` - Description of Exception
  Since:
    empty

### ejbActivate

    public void ejbActivate()
                     throws javax.ejb.EJBException,
                            java.rmi.RemoteException

  Description of the Method

  Specified by:
    `ejbActivate` in interface `javax.ejb.EntityBean`
  Throws:
    `javax.ejb.EJBException` - Description of Exception
    `java.rmi.RemoteException` - Description of Exception
  Since:
    empty

### ejbLoad

    public void ejbLoad()
                 throws javax.ejb.EJBException,
                        java.rmi.RemoteException

  Description of the Method

  Specified by:
    `ejbLoad` in interface `javax.ejb.EntityBean`
  Throws:
    `javax.ejb.EJBException` - Description of Exception
    `java.rmi.RemoteException` - Description of Exception
  Since:
    empty

### ejbPassivate

    public void ejbPassivate()
                      throws javax.ejb.EJBException,
                             java.rmi.RemoteException

  Description of the Method

  Specified by:
    `ejbPassivate` in interface `javax.ejb.EntityBean`
  Throws:
    `javax.ejb.EJBException` - Description of Exception
    `java.rmi.RemoteException` - Description of Exception
  Since:
    empty

### ejbRemove

    public void ejbRemove()
                   throws javax.ejb.EJBException,
                          java.rmi.RemoteException,
                          javax.ejb.RemoveException

  Description of the Method

  Specified by:
    `ejbRemove` in interface `javax.ejb.EntityBean`
  Throws:
    `javax.ejb.RemoveException` - Description of Exception
    `javax.ejb.EJBException` - Description of Exception
    `java.rmi.RemoteException` - Description of Exception
  Since:
    empty

### ejbStore

    public void ejbStore()
                  throws javax.ejb.EJBException,
                         java.rmi.RemoteException

  Description of the Method

  Specified by:
    `ejbStore` in interface `javax.ejb.EntityBean`
  Throws:
    `javax.ejb.EJBException` - Description of Exception
    `java.rmi.RemoteException` - Description of Exception
  Since:
    empty

Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD