|
||||||||||
| 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()
|
BeanDescriptor |
getBeanDescriptor()
|
List<Member> |
getCascadedMembers()
|
Set<PropertyDescriptor> |
getConstrainedProperties()
|
List<Class<?>> |
getDefaultGroupSequence()
|
List<MetaConstraint<T,? extends Annotation>> |
getMetaConstraintsAsList()
|
Map<Class<?>,List<MetaConstraint<T,? extends Annotation>>> |
getMetaConstraintsAsMap()
|
PropertyDescriptor |
getPropertyDescriptor(String property)
Return PropertyDescriptor for the given property. |
boolean |
isPropertyPresent(String name)
return true if the property exists on the object even if the property does not host any constraint nor is cascaded |
| Method Detail |
|---|
Class<T> getBeanClass()
BeanDescriptor getBeanDescriptor()
ElementDescriptor describing the bean this meta data applies for.List<Member> getCascadedMembers()
List<Class<?>> getDefaultGroupSequence()
boolean defaultGroupSequenceIsRedefined()
true if the entity redefines the default group sequence, false otherwise.Map<Class<?>,List<MetaConstraint<T,? extends Annotation>>> getMetaConstraintsAsMap()
MetaConstraint instances encapsulating the information of all the constraints
defined on the bean mapped to the class in which the constraints is defined.List<MetaConstraint<T,? extends Annotation>> getMetaConstraintsAsList()
MetaConstraint instances encapsulating the information of all the constraints
defined on the bean.PropertyDescriptor getPropertyDescriptor(String property)
PropertyDescriptor for the given property.
property - the property for which to retrieve the descriptor.
PropertyDescriptor for the given property or null in case the
property does not have a descriptor.boolean isPropertyPresent(String name)
Set<PropertyDescriptor> getConstrainedProperties()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||