public class BeanConfiguration<T> extends Object
ConfigurationSource
. Contains meta-data on
constraints (field, method and class level) as well as meta data on default
group sequences.Constructor and Description |
---|
BeanConfiguration(ConfigurationSource source,
Class<T> beanClass,
Set<? extends ConstrainedElement> constrainedElements,
List<Class<?>> defaultGroupSequence,
DefaultGroupSequenceProvider<? super T> defaultGroupSequenceProvider)
Creates a new bean configuration.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Class<T> |
getBeanClass() |
Set<ConstrainedElement> |
getConstrainedElements() |
List<Class<?>> |
getDefaultGroupSequence() |
DefaultGroupSequenceProvider<? super T> |
getDefaultGroupSequenceProvider() |
ConfigurationSource |
getSource() |
int |
hashCode() |
String |
toString() |
public BeanConfiguration(ConfigurationSource source, Class<T> beanClass, Set<? extends ConstrainedElement> constrainedElements, List<Class<?>> defaultGroupSequence, DefaultGroupSequenceProvider<? super T> defaultGroupSequenceProvider)
source
- The source of this configuration.beanClass
- The type represented by this configuration.constrainedElements
- The constraint elements representing this type's fields,
methods etc.defaultGroupSequence
- The default group sequence for the given type as configured by
the given configuration source.defaultGroupSequenceProvider
- The default group sequence provider for the given type as
configured by the given configuration source.public ConfigurationSource getSource()
public Set<ConstrainedElement> getConstrainedElements()
public DefaultGroupSequenceProvider<? super T> getDefaultGroupSequenceProvider()
Copyright © 2007-2014 Red Hat Middleware, LLC. All Rights Reserved