|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ptolemy.data.type.ArrayType.TypeableElementTypeTerm
private static class ArrayType.TypeableElementTypeTerm
An InequalityTerm representing the element types of an instance of Typeable. The purpose of this class is to defer to as late as possible actually accessing the type of the typeable, since it may change dynamically.
Field Summary | |
---|---|
private Typeable |
_typeable
The associated typeable. |
Constructor Summary | |
---|---|
ArrayType.TypeableElementTypeTerm(Typeable typeable)
Construct a term that will defer to the type of the specified typeable. |
Method Summary | |
---|---|
private InequalityTerm |
_getElementTypeTerm()
Get an inequality term for elements of the associated typeable. |
java.lang.Object |
getAssociatedObject()
Delegate to the element type term of the associated typeable. |
java.lang.Object |
getValue()
Delegate to the element type term of the associated typeable. |
InequalityTerm[] |
getVariables()
Delegate to the element type term of the associated typeable. |
void |
initialize(java.lang.Object type)
Delegate to the element type term of the associated typeable. |
boolean |
isSettable()
Delegate to the element type term of the associated typeable. |
boolean |
isValueAcceptable()
Delegate to the element type term of the associated typeable. |
void |
setValue(java.lang.Object type)
Delegate to the element type term of the associated typeable. |
java.lang.String |
toString()
Delegate to the element type term of the associated typeable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private Typeable _typeable
Constructor Detail |
---|
public ArrayType.TypeableElementTypeTerm(Typeable typeable)
typeable
- The object to defer requests to.Method Detail |
---|
public java.lang.Object getAssociatedObject()
getAssociatedObject
in interface InequalityTerm
public java.lang.Object getValue() throws IllegalActionException
getValue
in interface InequalityTerm
IllegalActionException
- If the delegate throws it.InequalityTerm.setValue(Object)
public InequalityTerm[] getVariables()
getVariables
in interface InequalityTerm
public void initialize(java.lang.Object type) throws IllegalActionException
initialize
in interface InequalityTerm
type
- A Type.
IllegalActionException
- If the delegate throws it.public boolean isSettable()
isSettable
in interface InequalityTerm
public boolean isValueAcceptable()
isValueAcceptable
in interface InequalityTerm
public void setValue(java.lang.Object type) throws IllegalActionException
setValue
in interface InequalityTerm
type
- 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
private InequalityTerm _getElementTypeTerm()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |