public class ElementDescriptorImpl extends Object implements ElementDescriptor
ElementDescriptor.ConstraintFinder| Constructor and Description |
|---|
ElementDescriptorImpl(Class<?> type,
Set<ConstraintDescriptorImpl<?>> constraintDescriptors,
boolean cascaded,
boolean defaultGroupSequenceRedefined,
List<Class<?>> defaultGroupSequence) |
| Modifier and Type | Method and Description |
|---|---|
protected static Set<ConstraintDescriptorImpl<?>> |
asDescriptors(Set<MetaConstraint<?>> constraints) |
ElementDescriptor.ConstraintFinder |
findConstraints() |
Set<ConstraintDescriptor<?>> |
getConstraintDescriptors() |
Class<?> |
getElementClass() |
boolean |
hasConstraints() |
boolean |
isCascaded() |
public ElementDescriptorImpl(Class<?> type, Set<ConstraintDescriptorImpl<?>> constraintDescriptors, boolean cascaded, boolean defaultGroupSequenceRedefined, List<Class<?>> defaultGroupSequence)
public boolean isCascaded()
public final boolean hasConstraints()
hasConstraints in interface ElementDescriptorpublic final Class<?> getElementClass()
getElementClass in interface ElementDescriptorpublic final Set<ConstraintDescriptor<?>> getConstraintDescriptors()
getConstraintDescriptors in interface ElementDescriptorpublic final ElementDescriptor.ConstraintFinder findConstraints()
findConstraints in interface ElementDescriptorprotected static Set<ConstraintDescriptorImpl<?>> asDescriptors(Set<MetaConstraint<?>> constraints)
Copyright © 2007-2012 Red Hat Middleware, LLC. All Rights Reserved