public interface InequalityTerm
CPO
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAssociatedObject()
Return the Object associated with this term.
|
java.lang.Object |
getValue()
Return the value of this term.
|
InequalityTerm[] |
getVariables()
Return an array of variables contained in this term.
|
void |
initialize(java.lang.Object e)
Initialize the value of this term to the specified CPO element.
|
boolean |
isSettable()
Check whether this term can be set to a specific element of the
underlying CPO.
|
boolean |
isValueAcceptable()
Check whether the current value of this term is acceptable,
and return true if it is.
|
void |
setValue(java.lang.Object e)
Set the value of this term to the specified CPO element.
|
java.lang.Object getAssociatedObject()
null
.java.lang.Object getValue() throws IllegalActionException
IllegalActionException
- If the value of this
inequality term is not valid.setValue(Object)
InequalityTerm[] getVariables()
void initialize(java.lang.Object e) throws IllegalActionException
setValue()
with the same argument.
In some applications, this term is a structured object that only part
of it is a simple variable. In this case, set that variable part to
the specified argument.e
- An Object representing an element in the underlying CPO.IllegalActionException
- If this term is not a variable.boolean isSettable()
boolean isValueAcceptable()
void setValue(java.lang.Object e) throws IllegalActionException
e
- An Object representing an element in the
underlying CPO.IllegalActionException
- If this term is not a variable.getValue()