|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ptolemy.data.type.ArrayType.ElementTypeTerm
private class ArrayType.ElementTypeTerm
An InequalityTerm associated with an instance of ArrayType.
Constructor Summary | |
---|---|
private |
ArrayType.ElementTypeTerm()
|
Method Summary | |
---|---|
java.lang.Object |
getAssociatedObject()
Return this ArrayType. |
java.lang.Object |
getValue()
Return the element type. |
InequalityTerm[] |
getVariables()
Return this ElementTypeTerm in an array if this term represents a type variable. |
void |
initialize(java.lang.Object e)
Reset the variable part of the element type to the specified type. |
boolean |
isSettable()
Test if the element type is a type variable. |
boolean |
isValueAcceptable()
Check whether the current element type is acceptable. |
void |
setValue(java.lang.Object e)
Set the element type to the specified type. |
java.lang.String |
toString()
Return a string representation of this term. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
private ArrayType.ElementTypeTerm()
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 this type is a constant,
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 the specified type violates
the declared type of the element.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 |