org.hibernate.validator.metadata
Class PropertyDescriptorImpl

java.lang.Object
  extended by org.hibernate.validator.metadata.ElementDescriptorImpl
      extended by org.hibernate.validator.metadata.PropertyDescriptorImpl
All Implemented Interfaces:
ElementDescriptor, PropertyDescriptor

public class PropertyDescriptorImpl
extends ElementDescriptorImpl
implements PropertyDescriptor

Describes a validated element (class, field or property).

Author:
Emmanuel Bernard, Hardy Ferentschik

Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.validation.metadata.ElementDescriptor
ElementDescriptor.ConstraintFinder
 
Constructor Summary
PropertyDescriptorImpl(Class<?> returnType, boolean cascaded, String property, BeanMetaData<?> beanMetaData)
           
 
Method Summary
 String getPropertyName()
           
 boolean isCascaded()
           
 
Methods inherited from class org.hibernate.validator.metadata.ElementDescriptorImpl
addConstraintDescriptor, findConstraints, getConstraintDescriptors, getElementClass, getMetaDataBean, hasConstraints
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.validation.metadata.ElementDescriptor
findConstraints, getConstraintDescriptors, getElementClass, hasConstraints
 

Constructor Detail

PropertyDescriptorImpl

public PropertyDescriptorImpl(Class<?> returnType,
                              boolean cascaded,
                              String property,
                              BeanMetaData<?> beanMetaData)
Method Detail

isCascaded

public boolean isCascaded()
Specified by:
isCascaded in interface PropertyDescriptor

getPropertyName

public String getPropertyName()
Specified by:
getPropertyName in interface PropertyDescriptor


Copyright © 2007-2011 Red Hat Middleware, LLC. All Rights Reserved