com.virtuosotechnologies.lib.base
Interface ConstrainedKey

All Known Subinterfaces:
ClassConstrainedKey
All Known Implementing Classes:
UniqueClassConstrainedKey

public interface ConstrainedKey

An interface for constrained property keys.

ConstrainedKeys are often used as keys in properties objects to place constraints on legal values.


Method Summary
 boolean isConstraintSatisfiedBy(Object obj)
          Returns true if the given object matches the constraint.
 

Method Detail

isConstraintSatisfiedBy

public boolean isConstraintSatisfiedBy(Object obj)
Returns true if the given object matches the constraint.

Parameters:
obj - object to test
Returns:
true if the object matches the constraint