Save This Page
Home » hibernate-validator-src-20081106 » javax.validation » [javadoc | source]
javax.validation
public interface: ConstraintDescriptor [javadoc | source] Describes a single constraint and its composing constraints.
Method from javax.validation.ConstraintDescriptor Summary:
getAnnotation,   getComposingConstraints,   getConstraintClass,   getGroups,   getParameters,   isReportAsViolationFromCompositeConstraint
Method from javax.validation.ConstraintDescriptor Detail:
 public Annotation getAnnotation()
    Returns the annotation describing the constraint declaration. If a composing constraint, parameter values are reflecting the overridden parameters from the main constraint
 public Set getComposingConstraints()
    Return a set of composing ConstraintDescriptors where each descriptor describes a composing constraint. ConstraintDescriptor instances of composing constraints reflect overridden parameter values in #getParameters() and #getAnnotation() .
 public Class getConstraintClass()
 public Set getGroups()
 public Map getParameters()
    Returns a map containing the annotation parameter names as keys and the annotation parameter values as value. If this constraint is used as part of a composed constraint, parameter values are reflecting the overridden parameters form the main constraint.
 public boolean isReportAsViolationFromCompositeConstraint()