|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hack23.cia.model.common.impl.BaseEntity com.hack23.cia.model.application.impl.common.Player
@Entity public class Player
The Class Player.
Constructor Summary | |
---|---|
Player()
Instantiates a new player. |
Method Summary | |
---|---|
Actor |
getActor()
Gets the actor. |
Long |
getId()
Gets the id. |
ParliamentMember |
getShadowParliamentMember()
Gets the shadow parliament member. |
User |
getUser()
Gets the user. |
Long |
getVersion()
Gets the version. |
void |
setActor(Actor actor)
Sets the actor. |
void |
setId(Long id)
Sets the id. |
void |
setShadowParliamentMember(ParliamentMember shadowParliamentMember)
Sets the shadow parliament member. |
void |
setUser(User user)
Sets the user. |
void |
setVersion(Long version)
Sets the version. |
Methods inherited from class com.hack23.cia.model.common.impl.BaseEntity |
---|
equals, hashCode, isNew |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.hack23.cia.model.common.api.PersistedModelObject |
---|
isNew |
Constructor Detail |
---|
public Player()
Method Detail |
---|
public Actor getActor()
Role
getActor
in interface Role
public Long getId()
BaseEntity
getId
in interface PersistedModelObject
getId
in class BaseEntity
public ParliamentMember getShadowParliamentMember()
public User getUser()
public Long getVersion()
BaseEntity
getVersion
in interface PersistedModelObject
getVersion
in class BaseEntity
public void setActor(Actor actor)
Role
setActor
in interface Role
actor
- the new actorpublic void setId(Long id)
PersistedModelObject
setId
in interface PersistedModelObject
id
- the new idpublic void setShadowParliamentMember(ParliamentMember shadowParliamentMember)
shadowParliamentMember
- the new shadow parliament memberpublic void setUser(User user)
user
- the new userpublic void setVersion(Long version)
PersistedModelObject
setVersion
in interface PersistedModelObject
version
- the new version
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |