org.directdemocracyportal.democracy.model.core
Class Environment

Package class diagram package Environment
java.lang.Object
  extended by org.directdemocracyportal.democracy.model.core.BaseEntity
      extended by org.directdemocracyportal.democracy.model.core.Environment
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Application, Region

@Entity
public abstract class Environment
extends BaseEntity

The Class Environment.

See Also:
Serialized Form

Constructor Summary
Constructor and Description
Environment()
          Instantiates a new environment.
 
Method Summary
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

Environment

public Environment()
Instantiates a new environment.

Method Detail

getId

public java.lang.Long getId()
Description copied from class: BaseEntity
Gets the id.

Specified by:
getId in class BaseEntity
Returns:
the id

setId

public void setId(java.lang.Long id)
Sets the id.

Parameters:
id - the new id

getName

public java.lang.String getName()
Gets the name.

Returns:
the name

setName

public void setName(java.lang.String name)
Sets the name.

Parameters:
name - the new name

getAgents

public java.util.Set<Agent> getAgents()
Gets the agents.

Returns:
the agents

setAgents

public void setAgents(java.util.Set<Agent> agents)
Sets the agents.

Parameters:
agents - the new agents

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2004-2010 www.DirectDemocracyPortal.org. All Rights Reserved.