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$
    Author:
    Thomas Huining Feng
    Pt.AcceptedRating:
    Red (tfeng)
    Pt.ProposedRating:
    Yellow (tfeng)
    • Method Detail

      • getCriterion

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