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 ElementDescriptor
public final Class<?> getElementClass()
getElementClass
in interface ElementDescriptor
public final Set<ConstraintDescriptor<?>> getConstraintDescriptors()
getConstraintDescriptors
in interface ElementDescriptor
public final ElementDescriptor.ConstraintFinder findConstraints()
findConstraints
in interface ElementDescriptor
protected static Set<ConstraintDescriptorImpl<?>> asDescriptors(Set<MetaConstraint<?>> constraints)
Copyright © 2007-2014 Red Hat Middleware, LLC. All Rights Reserved