|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.bval.jsr303.ConstraintDescriptorImpl<T>
public class ConstraintDescriptorImpl<T extends Annotation>
Description: immutable, serializable implementation of ConstraintDescriptor
interface of JSR303
User: roman.stumm
Date: 22.04.2010
Time: 10:21:23
Constructor Summary | |
---|---|
ConstraintDescriptorImpl(ConstraintDescriptor<T> descriptor)
Create a new ConstraintDescriptorImpl instance. |
|
ConstraintDescriptorImpl(T annotation,
Set<Class<?>> groups,
Set<Class<? extends Payload>> payload,
List<Class<? extends ConstraintValidator<T,?>>> constraintValidatorClasses,
Map<String,Object> attributes,
Set<ConstraintDescriptor<?>> composingConstraints,
boolean reportAsSingleViolation)
Create a new ConstraintDescriptorImpl instance. |
Method Summary | |
---|---|
T |
getAnnotation()
|
Map<String,Object> |
getAttributes()
|
Set<ConstraintDescriptor<?>> |
getComposingConstraints()
|
List<Class<? extends ConstraintValidator<T,?>>> |
getConstraintValidatorClasses()
|
Set<Class<?>> |
getGroups()
|
Set<Class<? extends Payload>> |
getPayload()
|
boolean |
isReportAsSingleViolation()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConstraintDescriptorImpl(ConstraintDescriptor<T> descriptor)
descriptor
- public ConstraintDescriptorImpl(T annotation, Set<Class<?>> groups, Set<Class<? extends Payload>> payload, List<Class<? extends ConstraintValidator<T,?>>> constraintValidatorClasses, Map<String,Object> attributes, Set<ConstraintDescriptor<?>> composingConstraints, boolean reportAsSingleViolation)
annotation
- groups
- payload
- constraintValidatorClasses
- attributes
- composingConstraints
- reportAsSingleViolation
- Method Detail |
---|
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>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |