ptolemy.data.expr
Interface ScopeExtender

All Known Implementing Classes:
ParameterSet, PtolemyPreferences, ScopeExtendingAttribute, TransformationMode.WorkingCopyScopeExtender, UnitSystem

public interface ScopeExtender

A marker interface for attributes that extend their container's scope. Any parameter contained by an attribute implementing this interface has the same visibility as parameters of the container of the attribute.

Version:
$Id: ScopeExtender.java 38798 2005-07-08 20:00:01Z cxh $
Author:
Xiaojun Liu
See Also:
Variable

Method Summary
 java.util.List attributeList()
          Return a list of the attributes contained by this object.
 Attribute getAttribute(java.lang.String name)
          Get the attribute with the given name.
 

Method Detail

attributeList

java.util.List attributeList()
Return a list of the attributes contained by this object. If there are no attributes, return an empty list. This method is read-synchronized on the workspace.

Returns:
An unmodifiable list of instances of Attribute.

getAttribute

Attribute getAttribute(java.lang.String name)
Get the attribute with the given name. The name may be compound, with fields separated by periods, in which case the attribute returned is contained by a (deeply) contained attribute.

Parameters:
name - The name of the desired attribute.
Returns:
The requested attribute if it is found, null otherwise.