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:
Serializable, 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
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.validation.metadata.ElementDescriptor
javax.validation.metadata.ElementDescriptor.ConstraintFinder, javax.validation.metadata.ElementDescriptor.Kind
 
Constructor Summary
PropertyDescriptorImpl(Type returnType, String propertyName, Set<ConstraintDescriptorImpl<?>> constraints, boolean cascaded, boolean defaultGroupSequenceRedefined, List<Class<?>> defaultGroupSequence)
           
 
Method Summary
 javax.validation.metadata.ElementDescriptor.Kind getKind()
           
 String getPropertyName()
           
 boolean isCascaded()
           
 String toString()
           
 
Methods inherited from class org.hibernate.validator.internal.metadata.descriptor.ElementDescriptorImpl
as, findConstraints, getConstraintDescriptors, getElementClass, hasConstraints
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.validation.metadata.ElementDescriptor
as, findConstraints, getConstraintDescriptors, getElementClass, hasConstraints
 

Constructor Detail

PropertyDescriptorImpl

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

isCascaded

public boolean isCascaded()
Specified by:
isCascaded in interface javax.validation.metadata.PropertyDescriptor

getPropertyName

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

getKind

public javax.validation.metadata.ElementDescriptor.Kind getKind()
Specified by:
getKind in interface javax.validation.metadata.ElementDescriptor
Specified by:
getKind in class ElementDescriptorImpl

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012 Oracle Corporation. All Rights Reserved.