|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.virtuosotechnologies.lib.base.UniqueObject
com.virtuosotechnologies.lib.base.UniqueClassConstrainedKey
A UniqueObject base class implementing ClassConstrainedKey
| Constructor Summary | |
UniqueClassConstrainedKey(Class guarantee)
Constructor |
|
UniqueClassConstrainedKey(String description,
Class guarantee)
Constructor |
|
| Method Summary | |
Class |
getConstrainingClass()
Get the class of the constraint. |
boolean |
isConstraintSatisfiedBy(Object obj)
Returns true if the given object matches the constraint. |
| Methods inherited from class com.virtuosotechnologies.lib.base.UniqueObject |
equals, getUniqueObjectID, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public UniqueClassConstrainedKey(Class guarantee)
guarantee - the guaranteed class representing the constraint
public UniqueClassConstrainedKey(String description,
Class guarantee)
description - the description string returned by toStringguarantee - the guaranteed class representing the constraint| Method Detail |
public Class getConstrainingClass()
getConstrainingClass in interface ClassConstrainedKeypublic boolean isConstraintSatisfiedBy(Object obj)
isConstraintSatisfiedBy in interface ConstrainedKeyobj - object to test
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||