|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BeanMetaData<T>
Interface defining the meta data about the constraints defined in a given bean.
| Method Summary | |
|---|---|
boolean |
defaultGroupSequenceIsRedefined()
|
Class<T> |
getBeanClass()
|
javax.validation.metadata.BeanDescriptor |
getBeanDescriptor()
|
Set<Member> |
getCascadedMembers()
|
List<Class<?>> |
getClassHierarchy()
|
List<Class<?>> |
getDefaultGroupSequence(T beanState)
Get the composition of the default group sequence. |
Set<MetaConstraint<?>> |
getDirectMetaConstraints()
|
Set<MetaConstraint<?>> |
getMetaConstraints()
|
ExecutableMetaData |
getMetaDataFor(ExecutableElement method)
Returns the constraint-related meta data for the given method of the class represented by this bean meta data. |
boolean |
isPropertyPresent(String name)
|
| Method Detail |
|---|
Class<T> getBeanClass()
javax.validation.metadata.BeanDescriptor getBeanDescriptor()
ElementDescriptor describing the bean this meta data applies for.Set<Member> getCascadedMembers()
List<Class<?>> getDefaultGroupSequence(T beanState)
If the bean state is given in parameter and the bean metadata has a default group sequence provider then the dynamic default group sequence composition is returned. In the other cases the default group sequence redefinition specified by BV is used.
beanState - the bean state.
boolean defaultGroupSequenceIsRedefined()
true if the entity redefines the default group sequence, false otherwise.Set<MetaConstraint<?>> getMetaConstraints()
MetaConstraint instances encapsulating the information of all the constraints
defined on the bean. This collection includes constraints from super classes as wellSet<MetaConstraint<?>> getDirectMetaConstraints()
MetaConstraint instances encapsulating the information of all the constraints
defined on the bean directly (including constraints defined on implemented interfaces). It does not
contain constraints from super classes or interfaces implemented by super classesExecutableMetaData getMetaDataFor(ExecutableElement method)
method - The method of interest.
boolean isPropertyPresent(String name)
name - The name of the property
List<Class<?>> getClassHierarchy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||