|
||||||||||
| 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.aggregation.Deck
public abstract class Deck
Deck contains an example of an aggregate one to many relationship to an object with a composite key, Card.
| Field Summary |
|---|
| Fields inherited from class au.gov.tas.dpiwe.mr.bean.NullBean |
|---|
container, context, wrapper |
| Constructor Summary | |
|---|---|
Deck()
Constructs a Deck. |
|
| Method Summary | |
|---|---|
DeckKey |
ejbCreate(DeckKey primaryKey)
Create life-cycle event. |
void |
ejbPostCreate(DeckKey primaryKey)
Post-create bean life-cycle event. |
abstract List |
getCards()
Returns the cards associated with this bean. |
abstract DeckKey |
getDeckID()
Returns the deck ID attribute of this bean. |
abstract void |
relateCard(CardObject aCard)
Associates a card with this bean. |
abstract void |
replaceCard(CardObject aCard)
Replaces an associated card to this bean. |
abstract void |
setCards(List cards)
Sets the cards associated with this bean. |
abstract void |
setDeckID(DeckKey deckID)
Sets the deck ID attribute of this bean. |
abstract void |
unrelateCard(CardObject aCard)
Disassociates a card from 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 Deck()
| Method Detail |
|---|
public abstract DeckKey getDeckID()
public abstract void setDeckID(DeckKey deckID)
deckID - the deck ID attribute to be
applied to this bean.public abstract List getCards()
public abstract void setCards(List cards)
cards - the cards to be associated with
this bean.public abstract void relateCard(CardObject aCard)
aCard - the card to be associated with
this bean.public abstract void unrelateCard(CardObject aCard)
aCard - the card to be disassociated from
this bean.public abstract void replaceCard(CardObject aCard)
aCard - the card to be associated with
this bean.public DeckKey ejbCreate(DeckKey primaryKey)
primaryKey - the primary key input.
public void ejbPostCreate(DeckKey primaryKey)
primaryKey - the primary key.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||