|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DeckObject
Deck contains an example of an aggregate one to many relationship to an object with a composite key, Card.
| Method Summary | |
|---|---|
List |
getCards()
Returns the cards associated with this bean. |
DeckKey |
getDeckID()
Returns the deck ID attribute of this bean. |
void |
relateCard(CardObject aCard)
Associates a card with this bean. |
void |
replaceCard(CardObject aCard)
Replaces an associated card to this bean. |
void |
setCards(List cards)
Sets the cards associated with this bean. |
void |
setDeckID(DeckKey deckID)
Sets the deck ID attribute of this bean. |
void |
unrelateCard(CardObject aCard)
Disassociates a card from this bean. |
| Methods inherited from interface javax.ejb.EJBLocalObject |
|---|
getEJBLocalHome, getPrimaryKey, isIdentical, remove |
| Method Detail |
|---|
DeckKey getDeckID()
void setDeckID(DeckKey deckID)
deckID - the deck ID attribute to be
applied to this bean.List getCards()
void setCards(List cards)
cards - the cards to be associated with
this bean.void relateCard(CardObject aCard)
aCard - the card to be associated with
this bean.void unrelateCard(CardObject aCard)
aCard - the card to be disassociated from
this bean.void replaceCard(CardObject aCard)
aCard - the card to be associated with
this bean.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||