Package jade.domain.mobility
Class Parameter
- java.lang.Object
-
- jade.domain.mobility.Parameter
-
- All Implemented Interfaces:
Concept,Term,Serializable,Serializable
public class Parameter extends Object implements Concept
This concept represents a parameter to be passed to aBehaviourin the dynamic loading procedure.- Author:
- Giovanni Caire - TILAB
- See Also:
LoadBehaviour,LoaderBehaviour, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intIN_MODEstatic intINOUT_MODEstatic intOUT_MODE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetMode()StringgetName()ObjectgetValue()voidsetMode(int mode)Sets the IO mode of this parameter.voidsetName(String name)Sets the name of this parameter.voidsetValue(Object value)Sets the value of this parameter.
-
-
-
Field Detail
-
IN_MODE
public static final int IN_MODE
- See Also:
- Constant Field Values
-
OUT_MODE
public static final int OUT_MODE
- See Also:
- Constant Field Values
-
INOUT_MODE
public static final int INOUT_MODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
setName
public void setName(String name)
Sets the name of this parameter. This will be used as the key in the dinamically loaded behaviourDataStorefor the parameter value
-
getName
public String getName()
- Returns:
- the name of this parameter.
-
setValue
public void setValue(Object value)
Sets the value of this parameter. The BehaviourLoading ontology extends the SerializableOntology and therefore whateverSerializableobject can be used.
-
getValue
public Object getValue()
- Returns:
- the value of this parameter.
-
setMode
public void setMode(int mode)
Sets the IO mode of this parameter. This must be one ofIN_MODE,OUT_MODE,INOUT_MODE.
-
getMode
public int getMode()
- Returns:
- the IO mode of this parameter.
-
-