org.directdemocracyportal.democracy.model.world
Class Region

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

@Entity
public class Region
extends Environment

The Class Region.

See Also:
Serialized Form

Constructor Summary
Constructor and Description
Region()
          Instantiates a new region.
 
Method Summary
Modifier and Type Method and Description
 Region getParent()
          Gets the parent.
 java.util.Set<Region> getParts()
          Gets the parts.
 RegionType getRegionType()
          Gets the region type.
 void setParent(Region parent)
          Sets the parent.
 void setParts(java.util.Set<Region> parts)
          Sets the parts.
 void setRegionType(RegionType regionType)
          Sets the region type.
 
Methods inherited from class org.directdemocracyportal.democracy.model.core.Environment
equals, getAgents, getId, getName, hashCode, setAgents, setId, setName
 
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

Region

public Region()
Instantiates a new region.

Method Detail

getParent

public Region getParent()
Gets the parent.

Returns:
the parent

setParent

public void setParent(Region parent)
Sets the parent.

Parameters:
parent - the new parent

getParts

public java.util.Set<Region> getParts()
Gets the parts.

Returns:
the parts

setParts

public void setParts(java.util.Set<Region> parts)
Sets the parts.

Parameters:
parts - the new parts

getRegionType

public RegionType getRegionType()
Gets the region type.

Returns:
the region type

setRegionType

public void setRegionType(RegionType regionType)
Sets the region type.

Parameters:
regionType - the new region type


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