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 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

- - ### Constructor Summary

    Constructors
    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.

  - ### Method Summary

    Methods
    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()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### BeanConfiguration

          public BeanConfiguration(ConfigurationSource source,
                           Class<T> beanClass,
                           Set<? extends ConstrainedElement> constrainedElements,
                           List<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.

  - ### Method Detail

    - #### getSource

          public ConfigurationSource getSource()

    - #### getBeanClass

          public Class<T> getBeanClass()

    - #### getConstrainedElements

          public Set<ConstrainedElement> getConstrainedElements()

    - #### getDefaultGroupSequence

          public List<Class<?>> getDefaultGroupSequence()

    - #### getDefaultGroupSequenceProvider

          public DefaultGroupSequenceProvider<? super T> getDefaultGroupSequenceProvider()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### equals

          public boolean equals(Object obj)

      Overrides:
        `equals` in class `Object`

Copyright © 2007-2014 Red Hat, Inc. All Rights Reserved