ConfigurationSource. Contains meta-data on
constraints (field, method and class level) as well as meta data on default
group sequences.
| Modifier and Type | Field and Description |
|---|---|
| private final Class | |
| private final Set | |
| private final List | |
| private final DefaultGroupSequenceProvider | |
| private final ConfigurationSource |
| Access | Constructor and Description |
|---|---|
| public | BeanConfiguration(ConfigurationSource
The source of this configuration. source, Class<T> The type represented by this configuration. beanClass, Set<? extends ConstrainedElement> The constraint elements representing this type's fields,
methods etc. constrainedElements, List<Class<?>> The default group sequence for the given type as configured by
the given configuration source. defaultGroupSequence, DefaultGroupSequenceProvider<? super T> The default group sequence provider for the given type as
configured by the given configuration source. defaultGroupSequenceProvider)Creates a new bean configuration. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| public Class | |
| public Set | |
| public List | |
| public DefaultGroupSequenceProvider | |
| public ConfigurationSource | |
| public int | |
| public String |
| beanClass | back to summary |
|---|---|
| private final Class<T> beanClass | |
| constrainedElements | back to summary |
|---|---|
| private final Set<ConstrainedElement> constrainedElements | |
| defaultGroupSequence | back to summary |
|---|---|
| private final List<Class<?>> defaultGroupSequence | |
| defaultGroupSequenceProvider | back to summary |
|---|---|
| private final DefaultGroupSequenceProvider<? super T> defaultGroupSequenceProvider | |
| source | back to summary |
|---|---|
| private final ConfigurationSource source | |
| BeanConfiguration | back to summary |
|---|---|
| public BeanConfiguration(ConfigurationSource source, Class<T> beanClass, Set<? extends ConstrainedElement> constrainedElements, List<Class<?>> defaultGroupSequence, DefaultGroupSequenceProvider<? super T> defaultGroupSequenceProvider) Creates a new bean configuration.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. 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. | |
| getBeanClass | back to summary |
|---|---|
| public Class | |
| getConstrainedElements | back to summary |
|---|---|
| public Set | |
| getDefaultGroupSequence | back to summary |
|---|---|
| public List | |
| getDefaultGroupSequenceProvider | back to summary |
|---|---|
| public DefaultGroupSequenceProvider | |
| getSource | back to summary |
|---|---|
| public ConfigurationSource getSource() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. 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 java. Doc from java. Returns a string representation of the object. | |