|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.validator.internal.metadata.raw.AbstractConstrainedElement
public abstract class AbstractConstrainedElement
Base implementation of with functionality common to all ConstrainedElement implementations.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.hibernate.validator.internal.metadata.raw.ConstrainedElement |
|---|
ConstrainedElement.ConstrainedElementKind |
| Constructor Summary | |
|---|---|
AbstractConstrainedElement(ConfigurationSource source,
ConstrainedElement.ConstrainedElementKind kind,
ConstraintLocation location,
Set<MetaConstraint<?>> constraints,
Map<Class<?>,Class<?>> groupConversions,
boolean isCascading)
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractConstrainedElement(ConfigurationSource source,
ConstrainedElement.ConstrainedElementKind kind,
ConstraintLocation location,
Set<MetaConstraint<?>> constraints,
Map<Class<?>,Class<?>> groupConversions,
boolean isCascading)
| Method Detail |
|---|
public ConstrainedElement.ConstrainedElementKind getKind()
ConstrainedElement
getKind in interface ConstrainedElementpublic ConstraintLocation getLocation()
ConstrainedElement
getLocation in interface ConstrainedElementpublic Iterator<MetaConstraint<?>> iterator()
iterator in interface Iterable<MetaConstraint<?>>public Set<MetaConstraint<?>> getConstraints()
ConstrainedElement
getConstraints in interface ConstrainedElementnull.public Map<Class<?>,Class<?>> getGroupConversions()
ConstrainedElement@ConvertGroup annotation.
getGroupConversions in interface ConstrainedElementnull.public boolean isCascading()
ConstrainedElement
isCascading in interface ConstrainedElementTrue, if cascading validation for the represented
element shall be performed, false otherwise.public boolean isConstrained()
ConstrainedElement
isConstrained in interface ConstrainedElementTrue, if this element is constrained,
false otherwise.public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||