/** * Look up and return the type term for the specified name in the scope. Return null if the name * is not defined in this scope, or is a constant type. * * @return The InequalityTerm associated with the given name in the scope. * @exception IllegalActionException If a value in the scope exists with the given name, but * cannot be evaluated. */ public ptolemy.graph.InequalityTerm getTypeTerm(String name) throws IllegalActionException { PSDFDirector director = (PSDFDirector) getContainer(); CompositeActor reference = (CompositeActor) director.getContainer(); Variable result = getScopedVariable(null, reference, name); if (result != null) { return result.getTypeTerm(); } else { return null; } }