constraints
Class NullConstraint

java.lang.Object
  |
  +--constraints.NullConstraint
All Implemented Interfaces:
Constraint

public class NullConstraint
extends java.lang.Object
implements Constraint

Example constraint class for use as correctness or completeness constraint.

Version:
0.1.18, 22 November 2003
Author:
Dennis Wagelaar

Constructor Summary
NullConstraint()
           
 
Method Summary
 void check(AbstractConcept concept)
          Checks whether this constraint holds for the given concept.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullConstraint

public NullConstraint()
Method Detail

check

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