|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gov.nasa.arc.brahms.vm.data.ExpressionOperand
public class ExpressionOperand
The ExpressionOperand represents an operand resulting from instantiating an expression located at the left hand side of a comparison that is used in a consequence, detectable, or transfer definitions.
Constructor Summary | |
---|---|
ExpressionOperand()
Constructor, creates a new ExpressionOperand. |
|
ExpressionOperand(java.lang.Object object)
Constructor, creates a new ExpressionOperand specifying the resulting value after evaluating the expression. |
|
ExpressionOperand(java.lang.Object object,
Attribute attribute)
Constructor, creates a new ExpressionOperand specifying the resulting operand after evaluating the expression. |
|
ExpressionOperand(java.lang.Object object,
Attribute attribute,
java.lang.Object index)
Constructor, creates a new ExpressionOperand specifying the resulting operand after evaluating the expression. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Tests whether two ExpressionOperands are equal |
Attribute |
getAttribute()
Returns the attribute for the expression operand |
java.lang.Object |
getCollectionIndex()
Returns the collection index for the expression operand. |
java.lang.Object |
getObject()
Returns the object for the operand |
boolean |
isUnknown()
Determines whether the object of this expression operand is the Unknown |
void |
setAttribute(Attribute attr)
Sets the expression operand attribute |
void |
setCollectionIndex(java.lang.Object index)
Sets the collection index for the expression operand. |
void |
setObject(java.lang.Object object)
Sets the expression operand object |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExpressionOperand()
public ExpressionOperand(java.lang.Object object)
object
- the object of the operandpublic ExpressionOperand(java.lang.Object object, Attribute attribute)
object
- the object of the operandattribute
- the attribute of the operandpublic ExpressionOperand(java.lang.Object object, Attribute attribute, java.lang.Object index)
object
- the object of the operandattribute
- the attribute of the operandindex
- the collection index of the operandMethod Detail |
---|
public final java.lang.Object getObject()
public final void setObject(java.lang.Object object)
object
- the expression operand objectpublic Attribute getAttribute()
public void setAttribute(Attribute attr)
attr
- the expression operand Attributepublic java.lang.Object getCollectionIndex()
public void setCollectionIndex(java.lang.Object index)
index
- the collection indexpublic boolean isUnknown()
public final boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the ExpressionOperand to be tested with for equality
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |