Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.virtuosotechnologies.lib.base
Class UniqueClassConstrainedKey  view UniqueClassConstrainedKey download UniqueClassConstrainedKey.java

java.lang.Object
  extended bycom.virtuosotechnologies.lib.base.UniqueObject
      extended bycom.virtuosotechnologies.lib.base.UniqueClassConstrainedKey
All Implemented Interfaces:
ClassConstrainedKey, ConstrainedKey

public class UniqueClassConstrainedKey
extends UniqueObject
implements ClassConstrainedKey

A UniqueObject base class implementing ClassConstrainedKey


Field Summary
private  java.lang.Class guarantee_
           
 
Fields inherited from class com.virtuosotechnologies.lib.base.UniqueObject
 
Constructor Summary
UniqueClassConstrainedKey(java.lang.Class guarantee)
          Constructor
UniqueClassConstrainedKey(java.lang.String description, java.lang.Class guarantee)
          Constructor
 
Method Summary
 java.lang.Class getConstrainingClass()
          Get the class of the constraint.
 boolean matchesConstraint(java.lang.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
 

Field Detail

guarantee_

private java.lang.Class guarantee_
Constructor Detail

UniqueClassConstrainedKey

public UniqueClassConstrainedKey(java.lang.Class guarantee)
Constructor


UniqueClassConstrainedKey

public UniqueClassConstrainedKey(java.lang.String description,
                                 java.lang.Class guarantee)
Constructor

Method Detail

getConstrainingClass

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

Specified by:
getConstrainingClass in interface ClassConstrainedKey

matchesConstraint

public boolean matchesConstraint(java.lang.Object obj)
Returns true if the given object matches the constraint.

Specified by:
matchesConstraint in interface ConstrainedKey