public class ConstrainedType extends AbstractConstrainedElement
ConstrainedElement.ConstrainedElementKind
cascadingMetaDataBuilder, constraints, source, typeArgumentConstraints
Constructor and Description |
---|
ConstrainedType(ConfigurationSource source,
java.lang.Class<?> beanClass,
java.util.Set<MetaConstraint<?>> constraints)
Creates a new type meta data object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Class<?> |
getBeanClass() |
int |
hashCode() |
getCascadingMetaDataBuilder, getConstraints, getKind, getSource, getTypeArgumentConstraints, isConstrained, iterator, toString
public ConstrainedType(ConfigurationSource source, java.lang.Class<?> beanClass, java.util.Set<MetaConstraint<?>> constraints)
source
- The source of meta data.beanClass
- The represented type.constraints
- The constraints of the represented type, if any.public java.lang.Class<?> getBeanClass()
public int hashCode()
hashCode
in class AbstractConstrainedElement
public boolean equals(java.lang.Object obj)
equals
in class AbstractConstrainedElement
Copyright © 2007-2022 Red Hat, Inc. All Rights Reserved