|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConstraintMetaData
An aggregated view of the constraint related meta data for a given bean/type element and all the elements in the inheritance hierarchy which it overrides or implements.
| Nested Class Summary | |
|---|---|
static class |
ConstraintMetaData.ConstraintMetaDataKind
The kind of a ConstraintMetaData. |
| Method Summary | |
|---|---|
javax.validation.metadata.ElementDescriptor |
asDescriptor(boolean defaultGroupSequenceRedefined,
List<Class<?>> defaultGroupSequence)
Returns this meta data object's corresponding representation in the descriptor model. |
ConstraintMetaData.ConstraintMetaDataKind |
getKind()
Returns the kind of this meta data object. |
String |
getName()
Returns the name of this meta data object. |
Type |
getType()
Returns the data type of this meta data object, e.g. |
boolean |
isCascading()
Whether this meta data object is marked for cascaded validation or not. |
boolean |
isConstrained()
Whether this meta data object is constrained by any means or not. |
| Methods inherited from interface java.lang.Iterable |
|---|
iterator |
| Method Detail |
|---|
String getName()
Type getType()
ConstraintMetaData.ConstraintMetaDataKind getKind()
kind of this meta data object.
kind of this meta data object.boolean isCascading()
True if this object is marked for cascaded validation, false otherwise.boolean isConstrained()
True if this object is marked for cascaded validation or has any constraints, false otherwise.
javax.validation.metadata.ElementDescriptor asDescriptor(boolean defaultGroupSequenceRedefined,
List<Class<?>> defaultGroupSequence)
defaultGroupSequenceRedefined - Whether the bean hosting the represented element has a
redefined default group sequence or not.defaultGroupSequence - The default group sequence of the bean hosting the represented
element.
ElementDescriptor.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||