public interface ConstraintMetaData extends Iterable<MetaConstraint<?>>
| Modifier and Type | Interface and Description |
|---|---|
static class |
ConstraintMetaData.ConstraintMetaDataKind
The kind of a
ConstraintMetaData. |
| 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.
|
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.
|
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.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.Copyright © 2007-2012 Red Hat Middleware, LLC. All Rights Reserved