public class ConstrainedType extends AbstractConstrainedElement
ConstrainedElement.ConstrainedElementKind
constraints, groupConversions, isCascading, location, source
Constructor and Description |
---|
ConstrainedType(ConfigurationSource source,
BeanConstraintLocation location,
Set<MetaConstraint<?>> constraints)
Creates a new type meta data object.
|
Modifier and Type | Method and Description |
---|---|
BeanConstraintLocation |
getLocation()
Returns the location of this constrained element.
|
equals, getConstraints, getGroupConversions, getKind, hashCode, isCascading, isConstrained, iterator, toString
public ConstrainedType(ConfigurationSource source, BeanConstraintLocation location, Set<MetaConstraint<?>> constraints)
source
- The source of meta data.location
- The location of the represented type.constraints
- The constraints of the represented type, if any.public BeanConstraintLocation getLocation()
ConstrainedElement
getLocation
in interface ConstrainedElement
getLocation
in class AbstractConstrainedElement
Copyright © 2007-2013 Red Hat, Inc. All Rights Reserved