com.virtuosotechnologies.lib.base
Interface ClassConstrainedKey

All Superinterfaces:
ConstrainedKey
All Known Implementing Classes:
UniqueClassConstrainedKey

public interface ClassConstrainedKey
extends ConstrainedKey

A ConstrainedKey that uses class assignability as the constraint


Method Summary
 Class getConstrainingClass()
          Get the class of the constraint.
 
Methods inherited from interface com.virtuosotechnologies.lib.base.ConstrainedKey
isConstraintSatisfiedBy
 

Method Detail

getConstrainingClass

public Class getConstrainingClass()
Get the class of the constraint.

Returns:
a Class that must be assignable from all legal values