Class ConstraintDescriptorWrapper<T extends Annotation>

java.lang.Object
org.primefaces.validate.bean.ConstraintDescriptorWrapper<T>
All Implemented Interfaces:
javax.faces.FacesWrapper<javax.validation.metadata.ConstraintDescriptor<T>>, javax.validation.metadata.ConstraintDescriptor<T>
Direct Known Subclasses:
MessageInterpolatingConstraintWrapper

public class ConstraintDescriptorWrapper<T extends Annotation> extends Object implements javax.validation.metadata.ConstraintDescriptor<T>, javax.faces.FacesWrapper<javax.validation.metadata.ConstraintDescriptor<T>>
  • Field Details

    • wrapped

      protected final javax.validation.metadata.ConstraintDescriptor<T extends Annotation> wrapped
  • Constructor Details

    • ConstraintDescriptorWrapper

      public ConstraintDescriptorWrapper(javax.validation.metadata.ConstraintDescriptor<?> wrapped)
  • Method Details

    • getAnnotation

      public T getAnnotation()
      Specified by:
      getAnnotation in interface javax.validation.metadata.ConstraintDescriptor<T extends Annotation>
    • getGroups

      public Set<Class<?>> getGroups()
      Specified by:
      getGroups in interface javax.validation.metadata.ConstraintDescriptor<T extends Annotation>
    • getPayload

      public Set<Class<? extends javax.validation.Payload>> getPayload()
      Specified by:
      getPayload in interface javax.validation.metadata.ConstraintDescriptor<T extends Annotation>
    • getConstraintValidatorClasses

      public List<Class<? extends javax.validation.ConstraintValidator<T,?>>> getConstraintValidatorClasses()
      Specified by:
      getConstraintValidatorClasses in interface javax.validation.metadata.ConstraintDescriptor<T extends Annotation>
    • getAttributes

      public Map<String,Object> getAttributes()
      Specified by:
      getAttributes in interface javax.validation.metadata.ConstraintDescriptor<T extends Annotation>
    • getComposingConstraints

      public Set<javax.validation.metadata.ConstraintDescriptor<?>> getComposingConstraints()
      Specified by:
      getComposingConstraints in interface javax.validation.metadata.ConstraintDescriptor<T extends Annotation>
    • isReportAsSingleViolation

      public boolean isReportAsSingleViolation()
      Specified by:
      isReportAsSingleViolation in interface javax.validation.metadata.ConstraintDescriptor<T extends Annotation>
    • getWrapped

      public javax.validation.metadata.ConstraintDescriptor<T> getWrapped()
      Specified by:
      getWrapped in interface javax.faces.FacesWrapper<T extends Annotation>
    • getMessageTemplate

      public String getMessageTemplate()
      Specified by:
      getMessageTemplate in interface javax.validation.metadata.ConstraintDescriptor<T extends Annotation>
    • getValidationAppliesTo

      public javax.validation.ConstraintTarget getValidationAppliesTo()
      Specified by:
      getValidationAppliesTo in interface javax.validation.metadata.ConstraintDescriptor<T extends Annotation>
    • getValueUnwrapping

      public javax.validation.metadata.ValidateUnwrappedValue getValueUnwrapping()
      Specified by:
      getValueUnwrapping in interface javax.validation.metadata.ConstraintDescriptor<T extends Annotation>
    • unwrap

      public <U> U unwrap(Class<U> type)
      Specified by:
      unwrap in interface javax.validation.metadata.ConstraintDescriptor<T extends Annotation>