|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.directdemocracyportal.democracy.model.core.BaseEntity
org.directdemocracyportal.democracy.model.core.Role
@Entity public class Role extends BaseEntity
The Class Role.
| Constructor and Description |
|---|
Role()
Instantiates a new role. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
|
GroupAgent |
getGroupAgent()
Gets the group agent. |
java.lang.Long |
getId()
Gets the id. |
java.lang.String |
getLongDescription()
Gets the long description. |
java.lang.String |
getName()
Gets the name. |
java.util.Set<Agent> |
getPlayers()
Gets the players. |
java.lang.String |
getShortDescription()
Gets the short description. |
int |
hashCode()
|
void |
setGroupAgent(GroupAgent organisation)
Sets the group agent. |
void |
setId(java.lang.Long id)
Sets the id. |
void |
setLongDescription(java.lang.String longDescription)
Sets the long description. |
void |
setName(java.lang.String name)
Sets the name. |
void |
setPlayers(java.util.Set<Agent> players)
Sets the players. |
void |
setShortDescription(java.lang.String shortDescription)
Sets the short description. |
| Methods inherited from class org.directdemocracyportal.democracy.model.core.BaseEntity |
|---|
isNew |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Role()
| Method Detail |
|---|
public java.lang.Long getId()
BaseEntity
getId in class BaseEntitypublic void setId(java.lang.Long id)
id - the new idpublic java.lang.String getName()
public void setName(java.lang.String name)
name - the new namepublic GroupAgent getGroupAgent()
public void setGroupAgent(GroupAgent organisation)
organisation - the new group agentpublic java.util.Set<Agent> getPlayers()
public void setPlayers(java.util.Set<Agent> players)
players - the new playerspublic java.lang.String getShortDescription()
public void setShortDescription(java.lang.String shortDescription)
shortDescription - the new short descriptionpublic java.lang.String getLongDescription()
public void setLongDescription(java.lang.String longDescription)
longDescription - the new long descriptionpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||