au.gov.tas.dpiwe.mr.test.aggregation
Interface MonopolySetObject

All Superinterfaces:
EJBLocalObject
All Known Implementing Classes:
MrMonopolySet

public interface MonopolySetObject
extends EJBLocalObject

MonopolySet is the root bean populating Containers produced by AggregationContainerFactory. It contains an example of aggregate getters and setters, including one to many (Deck and Token) and one to one (Board).

Since:
Mr Architecture 2.0
Version:
1.0.0.2
Author:
Kade Hanson

Method Summary
 BoardObject getBoard()
          Returns the board associated with this bean.
 Map getDecks()
          Returns the decks associated with this bean.
 String getEdition()
          Returns the edition attribute of this bean.
 Set getTokens()
          Returns the tokens associated with this bean.
 void relateBoard(BoardObject aBoard)
          Associates a board with this bean.
 void relateToken(TokenObject aToken)
          Associates a token with this bean.
 void setBoard(BoardObject aBoard)
          Sets the board associated with this bean.
 void setDecks(Map decks)
          Sets the decks associated with this bean.
 void setEdition(String edition)
          Sets the edition attribute of this bean.
 void setTokens(Set tokens)
          Sets the tokens associated with this bean.
 
Methods inherited from interface javax.ejb.EJBLocalObject
getEJBLocalHome, getPrimaryKey, isIdentical, remove
 

Method Detail

getEdition

String getEdition()
Returns the edition attribute of this bean.

Returns:
the edition attribute of this bean.

setEdition

void setEdition(String edition)
Sets the edition attribute of this bean.

Parameters:
edition - the edition attribute to be applied to this bean.

getDecks

Map getDecks()
Returns the decks associated with this bean.

Returns:
the decks associated with this bean.

setDecks

void setDecks(Map decks)
Sets the decks associated with this bean.

Parameters:
decks - the decks to be associated with this bean.

getTokens

Set getTokens()
Returns the tokens associated with this bean.

Returns:
the tokens associated with this bean.

setTokens

void setTokens(Set tokens)
Sets the tokens associated with this bean.

Parameters:
tokens - the tokens to be associated with this bean.

relateToken

void relateToken(TokenObject aToken)
Associates a token with this bean.

Parameters:
aToken - the token to be associated with this bean.

getBoard

BoardObject getBoard()
Returns the board associated with this bean.

Returns:
the board associated with this bean.

setBoard

void setBoard(BoardObject aBoard)
Sets the board associated with this bean.

Parameters:
aBoard - the board to be associated with this bean.

relateBoard

void relateBoard(BoardObject aBoard)
Associates a board with this bean.

Parameters:
aBoard - the board to be associated with this bean.