public interface ConstraintMetaData extends Iterable<MetaConstraint<?>>
| Modifier and Type | Method and Description |
|---|---|
ElementDescriptor |
asDescriptor(boolean defaultGroupSequenceRedefined,
List<Class<?>> defaultGroupSequence)
Returns this meta data object's corresponding representation in the
descriptor model.
|
ElementKind |
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.
|
UnwrapMode |
unwrapMode()
Defines how the validated values needs to be treated in case there is a potential unrapper specified for its type
|
forEach, iterator, spliteratorString getName()
Type getType()
ElementKind getKind()
kind of this meta data object.kind of this meta data object.boolean isCascading()
trueif 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.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.UnwrapMode unwrapMode()
ValidatedValueUnwrapMode to be used for this constraint.Copyright © 2018 JBoss by Red Hat. All rights reserved.