org.apache.openejb.test.entity.cmr.onetomany
Class SongBean

java.lang.Object
  extended by org.apache.openejb.test.entity.cmr.onetomany.SongBean
All Implemented Interfaces:
Serializable, javax.ejb.EnterpriseBean, javax.ejb.EntityBean

public abstract class SongBean
extends Object
implements javax.ejb.EntityBean

Version:
$Revision: 607077 $ $Date: 2007-12-27 15:55:23 +0100 (Do, 27. Dez 2007) $
See Also:
Serialized Form

Constructor Summary
SongBean()
           
 
Method Summary
 void ejbActivate()
           
 Integer ejbCreate(Integer id)
           
 CompoundPK ejbCreate(SongPk primaryKey)
           
 void ejbLoad()
           
 void ejbPassivate()
           
 void ejbPostCreate(Integer id)
           
 void ejbPostCreate(SongPk primaryKey)
           
 void ejbRemove()
           
 void ejbStore()
           
abstract  Integer getBpm()
           
abstract  ArtistLocal getComposer()
           
abstract  String getDescription()
           
abstract  Integer getId()
           
abstract  String getName()
           
abstract  ArtistLocal getPerformer()
           
abstract  void setBpm(Integer bpm)
           
abstract  void setComposer(ArtistLocal composer)
           
abstract  void setDescription(String description)
           
 void setEntityContext(javax.ejb.EntityContext ctx)
           
abstract  void setId(Integer id)
           
abstract  void setName(String name)
           
abstract  void setPerformer(ArtistLocal performer)
           
 void unsetEntityContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SongBean

public SongBean()
Method Detail

getId

public abstract Integer getId()

setId

public abstract void setId(Integer id)

getName

public abstract String getName()

setName

public abstract void setName(String name)

getBpm

public abstract Integer getBpm()

setBpm

public abstract void setBpm(Integer bpm)

getDescription

public abstract String getDescription()

setDescription

public abstract void setDescription(String description)

getPerformer

public abstract ArtistLocal getPerformer()

setPerformer

public abstract void setPerformer(ArtistLocal performer)

getComposer

public abstract ArtistLocal getComposer()

setComposer

public abstract void setComposer(ArtistLocal composer)

ejbCreate

public Integer ejbCreate(Integer id)
                  throws javax.ejb.CreateException
Throws:
javax.ejb.CreateException

ejbPostCreate

public void ejbPostCreate(Integer id)

ejbCreate

public CompoundPK ejbCreate(SongPk primaryKey)
                     throws javax.ejb.CreateException
Throws:
javax.ejb.CreateException

ejbPostCreate

public void ejbPostCreate(SongPk primaryKey)

setEntityContext

public void setEntityContext(javax.ejb.EntityContext ctx)
Specified by:
setEntityContext in interface javax.ejb.EntityBean

unsetEntityContext

public void unsetEntityContext()
Specified by:
unsetEntityContext in interface javax.ejb.EntityBean

ejbActivate

public void ejbActivate()
Specified by:
ejbActivate in interface javax.ejb.EntityBean

ejbPassivate

public void ejbPassivate()
Specified by:
ejbPassivate in interface javax.ejb.EntityBean

ejbLoad

public void ejbLoad()
Specified by:
ejbLoad in interface javax.ejb.EntityBean

ejbStore

public void ejbStore()
Specified by:
ejbStore in interface javax.ejb.EntityBean

ejbRemove

public void ejbRemove()
               throws javax.ejb.RemoveException
Specified by:
ejbRemove in interface javax.ejb.EntityBean
Throws:
javax.ejb.RemoveException


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.