uaa.feral.social
Class Organization

java.lang.Object
  extended by java.util.AbstractCollection<T>
      extended by repast.simphony.context.AbstractContext<T>
          extended by repast.simphony.context.SmallDefaultContext<T>
              extended by repast.simphony.context.DefaultContext<Person>
                  extended by uaa.feral.social.Community
                      extended by uaa.feral.social.Organization
All Implemented Interfaces:
java.lang.Iterable<Person>, java.util.Collection<Person>, repast.simphony.context.Context<Person>, repast.simphony.context.ContextListener, repast.simphony.context.RepastElement

public class Organization
extends Community

Object used to represent organizations, such as companies or government entities

Author:
Mark Altaweel

Field Summary
 
Fields inherited from interface repast.simphony.context.Context
SYN_CONTEXT_PREFIX
 
Constructor Summary
Organization()
           
Organization(java.lang.String id, com.vividsolutions.jts.geom.Point location)
          Default constructor used
 
Method Summary
 void init()
          Method to initialize parameters, behaviors, and call visualization initialization
 void runModels()
          Method to run the water use and/or leadership model(s)
 
Methods inherited from class uaa.feral.social.Community
getDemographicFunction, getIcon, getImportance, getLeadershipModel, getLocation, getMunicipalSupply, getShape, getWaterUseModel, managePopulation, runDemographics, setDemographicFunction, setIcon, setImportance, setLeadershipModel, setLocation, setMunicipalSupply, setWaterUseModel
 
Methods inherited from class repast.simphony.context.SmallDefaultContext
getObjects, getRandomObject, getRandomObjects
 
Methods inherited from class repast.simphony.context.AbstractContext
add, addContextListener, addProjection, addSubContext, addValueLayer, clear, contains, eventOccured, findContext, findParent, getAgentLayer, getAgentTypes, getContextListeners, getId, getProjection, getProjection, getProjections, getProjections, getSubContext, getSubContexts, getTypeID, getValueLayer, getValueLayers, hasSubContext, iterator, query, remove, removeContextListener, removeProjection, removeSubContext, removeValueLayer, setId, setTypeID, size
 
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Collection
addAll, containsAll, equals, hashCode, isEmpty, removeAll, retainAll, toArray, toArray
 

Constructor Detail

Organization

public Organization()

Organization

public Organization(java.lang.String id,
                    com.vividsolutions.jts.geom.Point location)
Default constructor used

Parameters:
id - the id of the organization
location - the geometric location
Method Detail

init

public void init()
Method to initialize parameters, behaviors, and call visualization initialization

Overrides:
init in class Community

runModels

public void runModels()
Description copied from class: Community
Method to run the water use and/or leadership model(s)

Overrides:
runModels in class Community