|
Betty v1.1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LocalBet
Local interface for BetEJB.
UserDetails
Method Summary | |
---|---|
LocalBase |
getBase()
Returns the base EJB object attached to this EJB object. |
Date |
getCreationDate()
Returns the creation date of this EJB object. |
String |
getCreationUserId()
Returns the identifier of the user having created this EJB object. |
LocalPlayerScore |
getPlayerScore()
Returns the player score object, target of the bet. |
int |
getResult()
Returns the current result. |
int |
getScore()
Returns the current score. |
Date |
getUpdateDate()
Returns the update date of this EJB object. |
String |
getUpdateUserId()
Returns the identifier of the user having performed the last update on this EJB object. |
LocalUser |
getUser()
Returns the user EJB object associated with this element. |
void |
setBase(LocalBase dbBase)
Initializes the associated EJB object. |
void |
setPlayerScore(LocalPlayerScore dbPlayerScore)
Initializes the player score object, target of the bet. |
void |
setResult(int result)
Initializes the result value. |
void |
setScore(int score)
Initializes the score value. |
void |
setUpdateDate(Date date)
Initializes the update date of this EJB object. |
void |
setUpdateUserId(String userId)
Initializes the identifier of the user having performed the last update on this EJB object. |
void |
setUser(LocalUser dbUser)
Initializes the user EJB object associated with this element. |
Methods inherited from interface javax.ejb.EJBLocalObject |
---|
getEJBLocalHome, getPrimaryKey, isIdentical, remove |
Method Detail |
---|
int getScore()
EJBException
- if any exception occured during the execution of this method.setScore(int)
void setScore(int score)
score
- a score value.
EJBException
- if any exception occured during the execution of this method.getScore()
int getResult()
EJBException
- if any exception occured during the execution of this method.setResult(int)
void setResult(int result)
result
- a result value.
EJBException
- if any exception occured during the execution of this method.getResult()
LocalPlayerScore getPlayerScore()
null
.
EJBException
- if any exception occured during the execution of this method.setPlayerScore(christophedelory.betty.interfaces.LocalPlayerScore)
void setPlayerScore(LocalPlayerScore dbPlayerScore)
dbPlayerScore
- a player score EJB object. Shall not be null
.
EJBException
- if any exception occured during the execution of this method.getPlayerScore()
LocalUser getUser()
null
.
EJBException
- if any exception occured during the execution of this method.setUser(christophedelory.betty.interfaces.LocalUser)
void setUser(LocalUser dbUser)
dbUser
- a user EJB object. Shall not be null
.
EJBException
- if any exception occured during the execution of this method.getUser()
Date getCreationDate()
DbEntity
getCreationDate
in interface DbEntity
null
.String getCreationUserId()
DbEntity
getCreationUserId
in interface DbEntity
null
.Date getUpdateDate()
DbEntity
getUpdateDate
in interface DbEntity
null
.DbEntity.setUpdateDate(java.util.Date)
,
DbEntity.getUpdateUserId()
void setUpdateDate(Date date)
DbEntity
setUpdateDate
in interface DbEntity
date
- a date. Shall not be null
.DbEntity.getUpdateDate()
,
DbEntity.setUpdateUserId(String)
String getUpdateUserId()
DbEntity
getUpdateUserId
in interface DbEntity
null
.DbEntity.setUpdateUserId(String)
,
DbEntity.getUpdateDate()
void setUpdateUserId(String userId)
DbEntity
setUpdateUserId
in interface DbEntity
userId
- a user identifier. Shall not be null
.DbEntity.getUpdateUserId()
,
DbEntity.setUpdateDate(java.util.Date)
LocalBase getBase()
DbEntity
getBase
in interface DbEntity
null
.DbEntity.setBase(christophedelory.interfaces.LocalBase)
void setBase(LocalBase dbBase)
DbEntity
setBase
in interface DbEntity
dbBase
- an EJB object. Shall not be null
.DbEntity.getBase()
|
© 2008-2009 Christophe Delory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |