| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class describes the object CSP-variable-assignment as described in the document
"CCL Language Specification v2.01" section 4.2.2.5, p13.
The variable named in the Variable-name slot is assigned the value given in the
Variable-value slot. This represents a variable instantiation- a choice being made.
Field Summary | |
final static String | CSPVARIABLEASSIGNMENT Name that a CSPVariableAssignment is referenced with when represented as a Content object. |
final static String | NAME Name of the attribute a "Name" value is represented as in Content objects. |
Constructor Summary | |
CSPVariableAssignment() Constucts an empty CSPVariableAssignment | |
CSPVariableAssignment(Content content) Constructs a new CSPVariableAssignment and populates it with Data held in the passed Content object. |
Method Summary | |
void | addCSPValue(CSPValue value) This is the value that is to be assigned. |
CSPVariableAssignment | copy() Returns a copy of the CSPVariableAssignment object. |
CSPValue | getCSPValue() Returns the CSPValue this object contains |
String | getVariableName() Returns the name of the value. |
static void | main(String[] args) Used for testing. |
Content | toContent() Returns a Content object populated with the Data held in this class that represents the CSPVariableAssignment. |
String | toString() Returns a String representation of this object. |
void | variableName(String str) Assigns a name to the value. |
Field Detail |
public final static String CSPVARIABLEASSIGNMENT
public final static String NAME
Constructor Detail |
public CSPVariableAssignment()
public CSPVariableAssignment(Content content)
Method Detail |
public void addCSPValue(CSPValue value)
public CSPVariableAssignment copy()
public CSPValue getCSPValue()
public String getVariableName()
public static void main(String[] args)
public Content toContent()
public String toString()
public void variableName(String str)
Association Links |
to Class java.lang.String
to Class java.lang.String
to Class fipaos.skill.constraint.ccl.variable.CSPValue
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |