EDU.utwente.CoCompose.util
Interface Constraint

All Known Implementing Classes:
InheritanceConstraint, NullConstraint

public interface Constraint

Constraint interface for building constraints on specific concepts.

Version:
0.0.23, 20 June 2002
Author:
Dennis Wagelaar

Method Summary
 void check(AbstractConcept concept)
          Checks whether this constraint holds for the given concept.
 

Method Detail

check

public void check(AbstractConcept concept)
           throws CoComposeException
Checks whether this constraint holds for the given concept.
Parameters:
concept - The concept to check the constraint for.
Throws:
CoComposeException - if and only if the constraint doesn't hold.