public abstract class AbstractConstrainedElement extends Object implements ConstrainedElement
ConstrainedElement implementations.ConstrainedElement.ConstrainedElementKind| Constructor and Description |
|---|
AbstractConstrainedElement(ConfigurationSource source,
ConstrainedElement.ConstrainedElementKind kind,
ConstraintLocation location,
Set<MetaConstraint<?>> constraints,
Map<Class<?>,Class<?>> groupConversions,
boolean isCascading) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Set<MetaConstraint<?>> |
getConstraints()
Returns a set containing the constraints specified for this constrained
element.
|
Map<Class<?>,Class<?>> |
getGroupConversions()
Returns a map with the group conversions for this constrained element, as
e.g.
|
ConstrainedElement.ConstrainedElementKind |
getKind()
Returns the kind of this constrained element.
|
ConstraintLocation |
getLocation()
Returns the location of this constrained element.
|
int |
hashCode() |
boolean |
isCascading()
Whether cascading validation for the represented element shall be
performed or not.
|
boolean |
isConstrained()
Whether this element is constrained or not.
|
Iterator<MetaConstraint<?>> |
iterator() |
String |
toString() |
public AbstractConstrainedElement(ConfigurationSource source, ConstrainedElement.ConstrainedElementKind kind, ConstraintLocation location, Set<MetaConstraint<?>> constraints, Map<Class<?>,Class<?>> groupConversions, boolean isCascading)
public ConstrainedElement.ConstrainedElementKind getKind()
ConstrainedElementgetKind in interface ConstrainedElementpublic ConstraintLocation getLocation()
ConstrainedElementgetLocation in interface ConstrainedElementpublic Iterator<MetaConstraint<?>> iterator()
iterator in interface Iterable<MetaConstraint<?>>public Set<MetaConstraint<?>> getConstraints()
ConstrainedElementgetConstraints in interface ConstrainedElementnull.public Map<Class<?>,Class<?>> getGroupConversions()
ConstrainedElement@ConvertGroup annotation.getGroupConversions in interface ConstrainedElementnull.public boolean isCascading()
ConstrainedElementisCascading in interface ConstrainedElementTrue, if cascading validation for the represented
element shall be performed, false otherwise.public boolean isConstrained()
ConstrainedElementisConstrained in interface ConstrainedElementTrue, if this element is constrained,
false otherwise.Copyright © 2007-2012 Red Hat Middleware, LLC. All Rights Reserved