org.hibernate.validator.internal.metadata.raw
Class BeanConfiguration<T>
java.lang.Object
org.hibernate.validator.internal.metadata.raw.BeanConfiguration<T>
public class BeanConfiguration<T>
- extends java.lang.Object
Represents the complete constraint related configuration of one Java type
originating from one ConfigurationSource. Contains meta-data on
constraints (field, method and class level) as well as meta data on default
group sequences.
- Author:
- Gunnar Morling
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
BeanConfiguration
public BeanConfiguration(ConfigurationSource source,
java.lang.Class<T> beanClass,
java.util.Set<? extends ConstrainedElement> constrainedElements,
java.util.List<java.lang.Class<?>> defaultGroupSequence,
DefaultGroupSequenceProvider<? super T> defaultGroupSequenceProvider)
- Creates a new bean configuration.
- Parameters:
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.
getSource
public ConfigurationSource getSource()
getBeanClass
public java.lang.Class<T> getBeanClass()
getConstrainedElements
public java.util.Set<ConstrainedElement> getConstrainedElements()
getDefaultGroupSequence
public java.util.List<java.lang.Class<?>> getDefaultGroupSequence()
getDefaultGroupSequenceProvider
public DefaultGroupSequenceProvider<? super T> getDefaultGroupSequenceProvider()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
Copyright © 2012 Oracle Corporation. All Rights Reserved.