public class PropertyDescriptorImpl extends ElementDescriptorImpl implements PropertyDescriptor
ElementDescriptor.ConstraintFinder
Constructor and Description |
---|
PropertyDescriptorImpl(Type returnType,
String propertyName,
Set<ConstraintDescriptorImpl<?>> constraints,
boolean cascaded,
boolean defaultGroupSequenceRedefined,
List<Class<?>> defaultGroupSequence,
Set<GroupConversionDescriptor> groupConversions) |
Modifier and Type | Method and Description |
---|---|
Set<GroupConversionDescriptor> |
getGroupConversions()
Returns the group conversions configured for this element.
|
String |
getPropertyName()
Name of the property according to the Java Bean specification.
|
boolean |
isCascaded()
Whether this element is marked for cascaded validation or not.
|
String |
toString() |
findConstraints, getConstraintDescriptors, getElementClass, hasConstraints
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findConstraints, getConstraintDescriptors, getElementClass, hasConstraints
public PropertyDescriptorImpl(Type returnType, String propertyName, Set<ConstraintDescriptorImpl<?>> constraints, boolean cascaded, boolean defaultGroupSequenceRedefined, List<Class<?>> defaultGroupSequence, Set<GroupConversionDescriptor> groupConversions)
public boolean isCascaded()
CascadableDescriptor
isCascaded
in interface CascadableDescriptor
true
, if this element is marked for cascaded validation,
false
otherwisepublic Set<GroupConversionDescriptor> getGroupConversions()
CascadableDescriptor
getGroupConversions
in interface CascadableDescriptor
null
public String getPropertyName()
PropertyDescriptor
getPropertyName
in interface PropertyDescriptor
Copyright © 2017 JBoss by Red Hat. All rights reserved.