Package repast.simphony.parameter
Class AbstractParameters
- java.lang.Object
-
- repast.simphony.parameter.AbstractParameters
-
- All Implemented Interfaces:
Cloneable
,Parameters
public abstract class AbstractParameters extends Object implements Parameters
Abstract implementation of Parameters.- Version:
- $Revision$ $Date$
- Author:
- Nick Collier
-
-
Field Summary
Fields Modifier and Type Field Description protected Object
contextID
-
Fields inherited from interface repast.simphony.parameter.Parameters
NULL
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractParameters(Object contextID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Parameters
clone()
Method to clone a Parameter object.Object
getContextID()
Gets the context id for the context that these parameters for.-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface repast.simphony.parameter.Parameters
addPropertyChangeListener, getBoolean, getDisplayName, getDouble, getFloat, getInteger, getLong, getSchema, getString, getValue, getValueAsString, isReadOnly, removePropertyChangeListener, setValue
-
-
-
-
Field Detail
-
contextID
protected Object contextID
-
-
Constructor Detail
-
AbstractParameters
protected AbstractParameters(Object contextID)
-
-
Method Detail
-
getContextID
public Object getContextID()
Gets the context id for the context that these parameters for.- Returns:
- the context id for the context that these parameters for.
-
clone
public Parameters clone()
Description copied from interface:Parameters
Method to clone a Parameter object.- Specified by:
clone
in interfaceParameters
- Overrides:
clone
in classObject
- Returns:
- a Parameter clone.
-
-