ptolemy.actor.gt
Interface Checkable

All Known Implementing Classes:
PortMatcher

public interface Checkable

Interface of NamedObjs that correspond to criteria. Such NamedObjs are created as a result of those criteria, rather than having criteria associated with them as other NamedObjs. For example, a PortMatcher could be created automatically as a result of a port criterion. In that case, the PortMatcher should implement this interface, and define the getCriterion() method to return that criterion.

Since:
Ptolemy II 8.0
Version:
$Id: Checkable.java 57044 2010-01-27 22:41:05Z cxh $
Author:
Thomas Huining Feng
Accepted Rating:
Red (tfeng)
Proposed Rating:
Yellow (tfeng)

Method Summary
 Criterion getCriterion()
          Return the criterion that this checkable object corresponds to.
 

Method Detail

getCriterion

Criterion getCriterion()
Return the criterion that this checkable object corresponds to.

Returns:
The criterion that this checkable object corresponds to.