ptolemy.actor.lib
Class RecordDisassembler.PortFunction

java.lang.Object
  extended by ptolemy.data.type.MonotonicFunction
      extended by ptolemy.actor.lib.RecordDisassembler.PortFunction
All Implemented Interfaces:
InequalityTerm
Enclosing class:
RecordDisassembler

private class RecordDisassembler.PortFunction
extends MonotonicFunction


Field Summary
private  java.lang.String _name
           
 
Constructor Summary
private RecordDisassembler.PortFunction(java.lang.String name)
           
 
Method Summary
 java.lang.Object getValue()
          Return the function result.
 InequalityTerm[] getVariables()
          Return the type variable in this inequality term.
 java.lang.String getVerboseString()
          Return an additional string describing the current value of this function.
 
Methods inherited from class ptolemy.data.type.MonotonicFunction
getAssociatedObject, initialize, isSettable, isValueAcceptable, setValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_name

private java.lang.String _name
Constructor Detail

RecordDisassembler.PortFunction

private RecordDisassembler.PortFunction(java.lang.String name)
Method Detail

getValue

public java.lang.Object getValue()
                          throws IllegalActionException
Return the function result.

Specified by:
getValue in interface InequalityTerm
Specified by:
getValue in class MonotonicFunction
Returns:
A Type.
Throws:
IllegalActionException - Thrown in derived classes if there is a problem getting the value.
See Also:
MonotonicFunction.setValue(Object)

getVerboseString

public java.lang.String getVerboseString()
Return an additional string describing the current value of this function.

Overrides:
getVerboseString in class MonotonicFunction
Returns:
null.

getVariables

public InequalityTerm[] getVariables()
Return the type variable in this inequality term. If the type of the input port is not declared, return an one element array containing the inequality term representing the type of the port; otherwise, return an empty array.

Specified by:
getVariables in interface InequalityTerm
Specified by:
getVariables in class MonotonicFunction
Returns:
An array of InequalityTerm.