T
- the constraint annotation to describe.public final class ConstraintDescriptorImpl<T extends Annotation> extends Object implements javax.validation.metadata.ConstraintDescriptor<T>
ConstraintDescriptor
.Modifier and Type | Class and Description |
---|---|
static class |
ConstraintDescriptorImpl.Builder<T extends Annotation>
Builder for
ConstraintDescriptorImpl . |
Modifier and Type | Method and Description |
---|---|
static <T extends Annotation> |
builder() |
T |
getAnnotation() |
Map<String,Object> |
getAttributes() |
Set<javax.validation.metadata.ConstraintDescriptor<?>> |
getComposingConstraints() |
List<Class<? extends javax.validation.ConstraintValidator<T,?>>> |
getConstraintValidatorClasses() |
ConstraintOrigin |
getDefinedOn() |
ElementType |
getElementType() |
Set<Class<?>> |
getGroups() |
Set<Class<? extends javax.validation.Payload>> |
getPayload() |
boolean |
isReportAsSingleViolation() |
String |
toString()
For debugging only.
|
public static <T extends Annotation> ConstraintDescriptorImpl.Builder<T> builder()
public T getAnnotation()
getAnnotation
in interface javax.validation.metadata.ConstraintDescriptor<T extends Annotation>
public Map<String,Object> getAttributes()
getAttributes
in interface javax.validation.metadata.ConstraintDescriptor<T extends Annotation>
public Set<javax.validation.metadata.ConstraintDescriptor<?>> getComposingConstraints()
getComposingConstraints
in interface javax.validation.metadata.ConstraintDescriptor<T extends Annotation>
public List<Class<? extends javax.validation.ConstraintValidator<T,?>>> getConstraintValidatorClasses()
getConstraintValidatorClasses
in interface javax.validation.metadata.ConstraintDescriptor<T extends Annotation>
public ConstraintOrigin getDefinedOn()
public ElementType getElementType()
public Set<Class<?>> getGroups()
getGroups
in interface javax.validation.metadata.ConstraintDescriptor<T extends Annotation>
public Set<Class<? extends javax.validation.Payload>> getPayload()
getPayload
in interface javax.validation.metadata.ConstraintDescriptor<T extends Annotation>
public boolean isReportAsSingleViolation()
isReportAsSingleViolation
in interface javax.validation.metadata.ConstraintDescriptor<T extends Annotation>
Copyright © 2018. All rights reserved.