public class PropertyMetaData extends AbstractConstraintMetaData
In order to provide a unified access to all JavaBeans constraints also class-level constraints are represented by this meta data type.
Identity is solely based on the property name, hence sets and similar collections of this type may only be created in the scope of one Java type.
Modifier and Type | Class and Description |
---|---|
static class |
PropertyMetaData.Builder |
ConstraintMetaData.ConstraintMetaDataKind
Modifier and Type | Method and Description |
---|---|
PropertyDescriptorImpl |
asDescriptor(boolean defaultGroupSequenceRedefined,
List<Class<?>> defaultGroupSequence)
Returns this meta data object's corresponding representation in the
descriptor model.
|
boolean |
equals(Object obj) |
Set<Member> |
getCascadingMembers() |
int |
hashCode() |
String |
toString() |
asDescriptors, getConstraints, getKind, getName, getType, isCascading, isConstrained, iterator
public PropertyDescriptorImpl asDescriptor(boolean defaultGroupSequenceRedefined, List<Class<?>> defaultGroupSequence)
ConstraintMetaData
defaultGroupSequenceRedefined
- Whether the bean hosting the represented element has a
redefined default group sequence or not.defaultGroupSequence
- The default group sequence of the bean hosting the represented
element.ElementDescriptor
.public String toString()
toString
in class AbstractConstraintMetaData
public int hashCode()
hashCode
in class AbstractConstraintMetaData
public boolean equals(Object obj)
equals
in class AbstractConstraintMetaData
Copyright © 2007-2014 Red Hat Middleware, LLC. All Rights Reserved