|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectau.gov.tas.dpiwe.mr.bean.NullBean
au.gov.tas.dpiwe.mr.test.nonaggregation.Credit
public abstract class Credit
Credit associates a Song with a contributing Artist.
| Field Summary |
|---|
| Fields inherited from class au.gov.tas.dpiwe.mr.bean.NullBean |
|---|
container, context, wrapper |
| Constructor Summary | |
|---|---|
Credit()
Constructs a Credit. |
|
| Method Summary | |
|---|---|
CreditKey |
ejbCreate(CreditKey primaryKey)
Create life-cycle event. |
void |
ejbPostCreate(CreditKey primaryKey)
Post-create bean life-cycle event. |
abstract String |
getContribution()
Returns the contribution attribute of this bean. |
abstract CreditKey |
getCreditID()
Returns the credit ID attribute of this bean. |
abstract void |
relateArtist(ArtistObject artist)
Sets the artist associated with this bean. |
abstract void |
relateSong(SongObject song)
Sets the song associated with this bean. |
ArtistObject |
retrieveArtist()
Returns the artist associated with this bean. |
SongObject |
retrieveSong()
Returns the song associated with this bean. |
abstract void |
setContribution(String contribution)
Sets the contribution attribute of this bean. |
abstract void |
setCreditID(CreditKey aCreditID)
Sets the credit ID attribute of this bean. |
| Methods inherited from class au.gov.tas.dpiwe.mr.bean.NullBean |
|---|
clone, containerChanged, ejbActivate, ejbLoad, ejbPassivate, ejbRemove, ejbStore, getBeanObject, setEntityContext, simpleValidate, throwEJBException, unsetEntityContext |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Credit()
| Method Detail |
|---|
public abstract CreditKey getCreditID()
public abstract void setCreditID(CreditKey aCreditID)
aCreditID - the credit ID attribute to be
applied to this bean.public abstract String getContribution()
public abstract void setContribution(String contribution)
contribution - the contribution attribute to be
applied to this bean.
public ArtistObject retrieveArtist()
throws FinderException
FinderException - if this credit has
no related artist.public abstract void relateArtist(ArtistObject artist)
artist - the artist to be associated with
this bean.
public SongObject retrieveSong()
throws FinderException
FinderException - if this credit has
no related song.public abstract void relateSong(SongObject song)
song - the song to be associated with
this bean.public CreditKey ejbCreate(CreditKey primaryKey)
primaryKey - the primary key input.
public void ejbPostCreate(CreditKey primaryKey)
primaryKey - the primary key.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||