|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ptolemy.data.type.RecordType.FieldType
private class RecordType.FieldType
Field Summary | |
---|---|
private Type |
_declaredType
|
private Type |
_resolvedType
|
Constructor Summary | |
---|---|
private |
RecordType.FieldType(Type declaredType)
|
Method Summary | |
---|---|
java.lang.Object |
getAssociatedObject()
Return this RecordType. |
java.lang.Object |
getValue()
Return the resolved type. |
InequalityTerm[] |
getVariables()
Return this FieldType in an array if it 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 this field 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 |
Field Detail |
---|
private Type _declaredType
private Type _resolvedType
Constructor Detail |
---|
private RecordType.FieldType(Type declaredType)
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 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 the specified type violates
the declared field 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 |