public class ConceptFunctionInequalityTerm extends java.lang.Object implements InequalityTerm
| Red (cshelton) |
| Green (cshelton) |
| Constructor and Description |
|---|
ConceptFunctionInequalityTerm(ConceptFunction conceptFunction,
InequalityTerm[] inputTerms)
Initialize the inequality term with the ConceptFunction it
refers to and the array of inequality terms that are inputs to
the function.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getAssociatedObject()
Return the concept function associated with this concept
function inequality term.
|
InequalityTerm[] |
getConstants()
Return an array of constants contained in this term.
|
InequalityTerm[] |
getDependentTerms()
Return the array of dependent terms contained by this term.
|
java.lang.Object |
getValue()
Return the value of this inequality term.
|
InequalityTerm[] |
getVariables()
Return the concept variables for this inequality term.
|
void |
initialize(java.lang.Object e)
Throw an Exception.
|
boolean |
isSettable()
Return false.
|
boolean |
isValueAcceptable()
Return true.
|
void |
setValue(java.lang.Object e)
Throw an Exception.
|
java.lang.String |
toString()
Override the base class to give a description of this term.
|
public ConceptFunctionInequalityTerm(ConceptFunction conceptFunction, InequalityTerm[] inputTerms) throws IllegalActionException
conceptFunction - The concept function to be called to
get the value for this inequality term.inputTerms - The array of inequality term inputs to the
concept function.IllegalActionException - If the number of input terms
does not match the required number of arguments for the
concept function.public java.lang.Object getAssociatedObject()
getAssociatedObject in interface InequalityTermpublic final InequalityTerm[] getConstants()
public final InequalityTerm[] getDependentTerms()
public java.lang.Object getValue()
throws IllegalActionException
getValue in interface InequalityTermIllegalActionException - If the value of this
inequality term is not valid.setValue(Object)public final InequalityTerm[] getVariables()
getVariables in interface InequalityTermpublic final void initialize(java.lang.Object e)
throws IllegalActionException
initialize in interface InequalityTerme - The object value used to initialize the inequality
term. Since this method always throws an exception, this
parameter is never used.IllegalActionException - Always thrown.public final boolean isSettable()
isSettable in interface InequalityTermpublic boolean isValueAcceptable()
isValueAcceptable in interface InequalityTermpublic final void setValue(java.lang.Object e)
throws IllegalActionException
setValue in interface InequalityTerme - The object value to set the inequality term. Since
this method always throws an exception, this parameter is
never used.IllegalActionException - Always thrown.getValue()public java.lang.String toString()
toString in class java.lang.Object