public class PropertyDescriptorImpl extends ElementDescriptorImpl implements PropertyDescriptor
ElementDescriptor.ConstraintFinder| Constructor and Description |
|---|
PropertyDescriptorImpl(Class<?> returnType,
boolean cascaded,
String property,
BeanMetaData<?> beanMetaData) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPropertyName()
Name of the property acording to the Java Bean specification.
|
boolean |
isCascaded()
Is the property marked by the
@Valid annotation. |
addConstraintDescriptor, findConstraints, getConstraintDescriptors, getElementClass, getMetaDataBean, hasConstraintsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindConstraints, getConstraintDescriptors, getElementClass, hasConstraintspublic PropertyDescriptorImpl(Class<?> returnType, boolean cascaded, String property, BeanMetaData<?> beanMetaData)
public boolean isCascaded()
PropertyDescriptor@Valid annotation.isCascaded in interface PropertyDescriptortrue if the annotation is present, false otherwise.public String getPropertyName()
PropertyDescriptorgetPropertyName in interface PropertyDescriptorCopyright © 2012 JBoss by Red Hat. All Rights Reserved.