public class ConstraintDescriptorImpl<T extends Annotation> extends Object implements ConstraintDescriptor<T>, Serializable
Constructor and Description |
---|
ConstraintDescriptorImpl(T annotation,
ConstraintHelper constraintHelper,
Class<?> implicitGroup,
ElementType type,
ConstraintOrigin definedOn) |
ConstraintDescriptorImpl(T annotation,
ConstraintHelper constraintHelper,
ElementType type,
ConstraintOrigin definedOn) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
T |
getAnnotation() |
Map<String,Object> |
getAttributes() |
Set<ConstraintDescriptor<?>> |
getComposingConstraints() |
CompositionType |
getCompositionType() |
List<Class<? extends ConstraintValidator<T,?>>> |
getConstraintValidatorClasses() |
ConstraintOrigin |
getDefinedOn() |
ElementType |
getElementType() |
Set<Class<?>> |
getGroups() |
Set<Class<? extends Payload>> |
getPayload() |
int |
hashCode() |
boolean |
isReportAsSingleViolation() |
void |
setCompositionType(CompositionType compositionType) |
String |
toString() |
public ConstraintDescriptorImpl(T annotation, ConstraintHelper constraintHelper, Class<?> implicitGroup, ElementType type, ConstraintOrigin definedOn)
public ConstraintDescriptorImpl(T annotation, ConstraintHelper constraintHelper, ElementType type, ConstraintOrigin definedOn)
public T getAnnotation()
getAnnotation
in interface ConstraintDescriptor<T extends Annotation>
public Set<Class<?>> getGroups()
getGroups
in interface ConstraintDescriptor<T extends Annotation>
public Set<Class<? extends Payload>> getPayload()
getPayload
in interface ConstraintDescriptor<T extends Annotation>
public List<Class<? extends ConstraintValidator<T,?>>> getConstraintValidatorClasses()
getConstraintValidatorClasses
in interface ConstraintDescriptor<T extends Annotation>
public Map<String,Object> getAttributes()
getAttributes
in interface ConstraintDescriptor<T extends Annotation>
public Set<ConstraintDescriptor<?>> getComposingConstraints()
getComposingConstraints
in interface ConstraintDescriptor<T extends Annotation>
public boolean isReportAsSingleViolation()
isReportAsSingleViolation
in interface ConstraintDescriptor<T extends Annotation>
public ElementType getElementType()
public ConstraintOrigin getDefinedOn()
public void setCompositionType(CompositionType compositionType)
compositionType
- the compositionType to setpublic CompositionType getCompositionType()
Copyright © 2007-2014 Red Hat Middleware, LLC. All Rights Reserved