org.hibernate.validator.internal.metadata.descriptor
Class PropertyDescriptorImpl

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

public class PropertyDescriptorImpl
extends ElementDescriptorImpl
implements javax.validation.metadata.PropertyDescriptor

Describes a validated property.

Author:
Emmanuel Bernard, Hardy Ferentschik

Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.validation.metadata.ElementDescriptor
javax.validation.metadata.ElementDescriptor.ConstraintFinder
 
Constructor Summary
PropertyDescriptorImpl(Class<?> returnType, String propertyName, Set<ConstraintDescriptorImpl<?>> constraints, boolean cascaded, boolean defaultGroupSequenceRedefined, List<Class<?>> defaultGroupSequence)
           
 
Method Summary
 String getPropertyName()
           
 
Methods inherited from class org.hibernate.validator.internal.metadata.descriptor.ElementDescriptorImpl
asDescriptors, findConstraints, getConstraintDescriptors, getElementClass, hasConstraints, isCascaded
 
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.PropertyDescriptor
isCascaded
 
Methods inherited from interface javax.validation.metadata.ElementDescriptor
findConstraints, getConstraintDescriptors, getElementClass, hasConstraints
 

Constructor Detail

PropertyDescriptorImpl

public PropertyDescriptorImpl(Class<?> returnType,
                              String propertyName,
                              Set<ConstraintDescriptorImpl<?>> constraints,
                              boolean cascaded,
                              boolean defaultGroupSequenceRedefined,
                              List<Class<?>> defaultGroupSequence)
Method Detail

getPropertyName

public String getPropertyName()
Specified by:
getPropertyName in interface javax.validation.metadata.PropertyDescriptor


Copyright © 2012 Oracle Corporation. All Rights Reserved.