ptolemy.kernel.util
Interface LazyComposite

All Superinterfaces:
Configurable
All Known Implementing Classes:
EntityLibrary, LazyTypedCompositeActor

public interface LazyComposite
extends Configurable

A marker interface for lazy composites. A lazy composite is a CompositeEntity that does not automatically populate itself with contained entities and relations when it is instantiated. It does populate itself with attributes and ports, but the contained entities and relations are not created until they are explicitly requested.

Note that a class that implements this interface cannot have parameters whose values are expressions that refer to contained entities or relations or attributes contained by those. This is a rather esoteric use of expressions, so this limitation may not be onerous.

Since:
Ptolemy II 8.0
Version:
$Id: LazyComposite.java 57044 2010-01-27 22:41:05Z cxh $
Author:
Edward A. Lee, Christopher Hylands
See Also:
NamedObj, RecorderListener
Accepted Rating:
Green (cxh)
Proposed Rating:
Green (eal)

Method Summary
 
Methods inherited from interface ptolemy.kernel.util.Configurable
configure, getConfigureSource, getConfigureText