| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Access | Constructor and Description |
|---|---|
| private | ClassMetaData(Class<?> beanClass, Set<MetaConstraint<?>> constraints, Set<MetaConstraint<?>> containerElementsConstraints)
|
| Modifier and Type | Method and Description |
|---|---|
| public ClassDescriptorImpl | asDescriptor(boolean
Whether the bean hosting the represented element has a
redefined default group sequence or not. defaultGroupSequenceRedefined, List<Class<?>> The default group sequence of the bean hosting the represented
element. defaultGroupSequence)Implements org. |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides org. |
| public ElementKind | getKind()
Implements org. kind of this meta data object.
|
| public int | hashCode()
Overrides org. |
| public String | toString()
Overrides org. |
| ClassMetaData | back to summary |
|---|---|
| private ClassMetaData(Class<?> beanClass, Set<MetaConstraint<?>> constraints, Set<MetaConstraint<?>> containerElementsConstraints) | |
| asDescriptor | back to summary |
|---|---|
| public ClassDescriptorImpl asDescriptor(boolean defaultGroupSequenceRedefined, List<Class<?>> defaultGroupSequence) Implements org. Doc from org. Returns this meta data object's corresponding representation in the descriptor model.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides org. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getKind | back to summary |
|---|---|
| public ElementKind getKind() Implements org. Doc from org. Returns the
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides org. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object. | |
| Access | Constructor and Description |
|---|---|
| public | Builder(Class<?> beanClass, ConstrainedType constrainedType, ConstraintCreationContext constraintCreationContext)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | accepts(ConstrainedElement
The element to check. constrainedElement)Implements abstract org. |
| public final void | add(ConstrainedElement
The element to add. constrainedElement)Overrides org. |
| public ClassMetaData | build()
Implements abstract org. ConstraintMetaData object with all
constraint information related to the method or property represented by
this builder.
|
| Builder | back to summary |
|---|---|
| public Builder(Class<?> beanClass, ConstrainedType constrainedType, ConstraintCreationContext constraintCreationContext) | |
| accepts | back to summary |
|---|---|
| public boolean accepts(ConstrainedElement constrainedElement) Implements abstract org. Doc from org. Whether this builder allows to add the given element or not. This is the case if the specified element relates to the same property or method with which this builder was instantiated.
| |
| add | back to summary |
|---|---|
| public final void add(ConstrainedElement constrainedElement) Overrides org. Doc from org. Adds the given element to this builder. It must be checked with
| |
| build | back to summary |
|---|---|
| public ClassMetaData build() Implements abstract org. Doc from org. Creates a new, read-only
| |