|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.directdemocracyportal.democracy.model.core.BaseEntity org.directdemocracyportal.democracy.model.core.Agent org.directdemocracyportal.democracy.model.core.GroupAgent
@Entity public abstract class GroupAgent extends Agent
The Class GroupAgent.
Constructor and Description |
---|
GroupAgent()
Instantiates a new group agent. |
GroupAgent(java.lang.String name)
Instantiates a new group agent. |
Modifier and Type | Method and Description |
---|---|
Role |
findDefinedRoleByName(java.lang.String name)
Find defined role by name. |
GroupAgent |
findOrgByName(java.lang.String name)
Find org by name. |
java.util.Set<GroupAgent> |
getChildren()
Gets the children. |
java.util.Set<Role> |
getDefinedRoles()
Gets the defined roles. |
GroupAgent |
getParent()
Gets the parent. |
void |
setChildren(java.util.Set<GroupAgent> children)
Sets the children. |
void |
setDefinedRoles(java.util.Set<Role> definedRoles)
Sets the defined roles. |
void |
setParent(GroupAgent parent)
Sets the parent. |
Methods inherited from class org.directdemocracyportal.democracy.model.core.Agent |
---|
equals, getId, getName, getResources, getRoles, hashCode, setId, setName, setResources, setRoles |
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 GroupAgent()
public GroupAgent(java.lang.String name)
name
- the nameMethod Detail |
---|
public GroupAgent getParent()
public void setParent(GroupAgent parent)
parent
- the new parentpublic java.util.Set<GroupAgent> getChildren()
public void setChildren(java.util.Set<GroupAgent> children)
children
- the new childrenpublic java.util.Set<Role> getDefinedRoles()
public void setDefinedRoles(java.util.Set<Role> definedRoles)
definedRoles
- the new defined rolespublic GroupAgent findOrgByName(java.lang.String name)
name
- the namepublic Role findDefinedRoleByName(java.lang.String name)
name
- the name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |