de.cesr.sesamgim.context
Class GAreaContext<AgentT>

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<AgentT>
                  extended by de.cesr.sesamgim.context.GAreaContext<AgentT>
All Implemented Interfaces:
GimAreaContext<AgentT>, Iterable<AgentT>, Collection<AgentT>, repast.simphony.context.Context<AgentT>, repast.simphony.context.ContextListener, repast.simphony.context.RepastElement

public class GAreaContext<AgentT>
extends repast.simphony.context.DefaultContext<AgentT>
implements GimAreaContext<AgentT>

Date:
05.01.2009

Field Summary
protected  int id
           
protected  String kreis
           
 
Fields inherited from class repast.simphony.context.SmallDefaultContext
allObjs, objectMap
 
Fields inherited from class repast.simphony.context.AbstractContext
subContexts
 
Fields inherited from interface repast.simphony.context.Context
SYN_CONTEXT_PREFIX
 
Constructor Summary
GAreaContext(repast.simphony.context.Context<Object> superContext)
           
 
Method Summary
 int getAreaId()
           
 String getKreis()
           
static void reset()
          Resets the counter.
 void setBETEXTUNG1(String kreis)
          Only useful for "Statistische Bezirke"
 void setKREIS_ID(double id)
          Only useful for "Statistischer Bezirke"
 void setStat_Bez(String id)
          Only useful for "Statistischer Bezirke" ID of "Statistischer Bezirk"
 void setStt_name(String name)
          Only useful for "Statistischer Bezirke" Name of "Statistischer Bezirk"
 String toString()
           
 
Methods inherited from class repast.simphony.context.DefaultContext
addInternal, containsInternal, iteratorInternal, removeInternal, sizeInternal
 
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, fireAddContextEvent, fireRemoveEvent, fireSubContextAdded, fireSubContextRemoved, getAgentLayer, getAgentTypes, getContextListeners, getId, getProjection, getProjection, getProjections, getProjections, getSubContext, getSubContexts, getTypeID, getValueLayer, getValueLayers, handleRemove, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface repast.simphony.context.Context
addContextListener, addProjection, addSubContext, addValueLayer, findContext, findParent, getAgentLayer, getAgentTypes, getContextListeners, getObjects, getProjection, getProjection, getProjections, getProjections, getRandomObject, getRandomObjects, getSubContext, getSubContexts, getTypeID, getValueLayer, getValueLayers, hasSubContext, query, removeContextListener, removeProjection, removeSubContext, removeValueLayer, setTypeID
 
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from interface repast.simphony.context.RepastElement
getId, setId
 

Field Detail

kreis

protected String kreis

id

protected int id
Constructor Detail

GAreaContext

public GAreaContext(repast.simphony.context.Context<Object> superContext)
Method Detail

reset

public static void reset()
Resets the counter.


toString

public String toString()
Overrides:
toString in class AbstractCollection<AgentT>

getKreis

public String getKreis()
Returns:
the kreis

getAreaId

public int getAreaId()
Specified by:
getAreaId in interface GimAreaContext<AgentT>
Returns:
this area context's ID

setBETEXTUNG1

public void setBETEXTUNG1(String kreis)
Only useful for "Statistische Bezirke"

Parameters:
kreis - the kreis to set

setKREIS_ID

public void setKREIS_ID(double id)
Only useful for "Statistischer Bezirke"

Parameters:
id - the id to set

setStt_name

public void setStt_name(String name)
Only useful for "Statistischer Bezirke" Name of "Statistischer Bezirk"

Parameters:
id - the id to set

setStat_Bez

public void setStat_Bez(String id)
Only useful for "Statistischer Bezirke" ID of "Statistischer Bezirk"

Parameters:
id - the id to set