|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ptolemy.data.expr.Variable.TypeTerm
private class Variable.TypeTerm
Constructor Summary | |
---|---|
private |
Variable.TypeTerm()
|
Method Summary | |
---|---|
java.lang.Object |
getAssociatedObject()
Return this Variable. |
java.lang.Object |
getValue()
Return the type of this Variable. |
InequalityTerm[] |
getVariables()
Return this TypeTerm in an array if this term represent a type variable. |
void |
initialize(java.lang.Object e)
Reset the variable part of this type to the specified type. |
boolean |
isSettable()
Test if the type of this variable is fixed. |
boolean |
isValueAcceptable()
Check whether the current value of this term is acceptable. |
void |
setValue(java.lang.Object e)
Set the type of this variable. |
java.lang.String |
toString()
Override the base class to give a description of the variable and its type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
private Variable.TypeTerm()
Method Detail |
---|
public java.lang.Object getAssociatedObject()
getAssociatedObject
in interface InequalityTerm
public java.lang.Object getValue()
getValue
in interface InequalityTerm
InequalityTerm.setValue(Object)
public InequalityTerm[] getVariables()
getVariables
in interface InequalityTerm
public void initialize(java.lang.Object e) throws IllegalActionException
initialize
in interface InequalityTerm
e
- A Type.
IllegalActionException
- If the type is not settable,
or the argument is not a Type.public boolean isSettable()
isSettable
in interface InequalityTerm
public boolean isValueAcceptable()
isValueAcceptable
in interface InequalityTerm
public void setValue(java.lang.Object e) throws IllegalActionException
setValue
in interface InequalityTerm
e
- a Type.
IllegalActionException
- If this type is not settable,
or this type cannot be updated to the new type.InequalityTerm.getValue()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |