|
||||||||||
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.Environment
@Entity public abstract class Environment extends BaseEntity
The Class Environment.
Constructor and Description |
---|
Environment()
Instantiates a new environment. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.util.Set<Agent> |
getAgents()
Gets the agents. |
java.lang.Long |
getId()
Gets the id. |
java.lang.String |
getName()
Gets the name. |
int |
hashCode()
|
void |
setAgents(java.util.Set<Agent> agents)
Sets the agents. |
void |
setId(java.lang.Long id)
Sets the id. |
void |
setName(java.lang.String name)
Sets the name. |
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 Environment()
Method Detail |
---|
public java.lang.Long getId()
BaseEntity
getId
in class BaseEntity
public 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 java.util.Set<Agent> getAgents()
public void setAgents(java.util.Set<Agent> agents)
agents
- the new agentspublic int hashCode()
hashCode
in class java.lang.Object
public 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 |