EASE.Sensing.Specification
Class InstantiatedParameter

java.lang.Object
  |
  +--EASE.Sensing.Specification.InstantiatedParameter

public class InstantiatedParameter
extends java.lang.Object
implements java.io.Serializable

This class holds a parameter with some value.

See Also:
Serialized Form

Field Summary
private  Parameter param
           
private  ParameterReference paramRef
           
(package private) static long serialVersionUID
           
private  Cell value
           
private  CellReference valueRef
           
 
Constructor Summary
InstantiatedParameter(Parameter param, Cell value)
          This constructor is for using when the IP is for use now.
InstantiatedParameter(ParameterReference pr, CellReference value)
          This constructor should be used when the IP is to be saved properly !! This is for saved instantiated parameters in Agent Specification.
 
Method Summary
 Parameter getParameter()
           
 ParameterReference getParamReference()
           
 Cell getValue()
           
 CellReference getValueRef()
           
 void setValue(Cell c)
           
 void setValueRef(CellReference cr)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

param

private Parameter param

paramRef

private ParameterReference paramRef

value

private Cell value

valueRef

private CellReference valueRef

serialVersionUID

static final long serialVersionUID
Constructor Detail

InstantiatedParameter

public InstantiatedParameter(Parameter param,
                             Cell value)
This constructor is for using when the IP is for use now.

This is for saved instantiated parameters in Sensing Specification


InstantiatedParameter

public InstantiatedParameter(ParameterReference pr,
                             CellReference value)
This constructor should be used when the IP is to be saved properly !!

This is for saved instantiated parameters in Agent Specification.

Method Detail

getParameter

public Parameter getParameter()

getParamReference

public ParameterReference getParamReference()

getValue

public Cell getValue()

setValue

public void setValue(Cell c)

getValueRef

public CellReference getValueRef()

setValueRef

public void setValueRef(CellReference cr)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object