com.amazon.carbonado.info
Class StorablePropertyConstraint

java.lang.Object
  extended by com.amazon.carbonado.info.StorablePropertyConstraint

public class StorablePropertyConstraint
extends Object

Information about a constraint annotation applied to a property.

Author:
Brian S O'Neill

Method Summary
 StorablePropertyAnnotation getAnnotation()
          Returns the annotation that applied this constraint.
 Method getConstrainMethod()
          Returns the best matching property checking method in the validator.
 Constructor getConstraintConstructor()
          Returns the constructor for the constraint class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAnnotation

public StorablePropertyAnnotation getAnnotation()
Returns the annotation that applied this constraint.


getConstraintConstructor

public Constructor getConstraintConstructor()
Returns the constructor for the constraint class. It has the signature (Class type, String propertyName, Annotation), where Annotation is the fully resolved annotation.


getConstrainMethod

public Method getConstrainMethod()
Returns the best matching property checking method in the validator.



Copyright © 2006-2009 Amazon Technologies, Inc.. All Rights Reserved.