org.apache.bval.jsr303
Class PropertyDescriptorImpl

java.lang.Object
  extended by org.apache.bval.jsr303.ElementDescriptorImpl
      extended by org.apache.bval.jsr303.PropertyDescriptorImpl
All Implemented Interfaces:
ElementDescriptor, PropertyDescriptor

 class PropertyDescriptorImpl
extends ElementDescriptorImpl
implements PropertyDescriptor

Description: PropertyDescriptor implementation.


Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.validation.metadata.ElementDescriptor
ElementDescriptor.ConstraintFinder
 
Field Summary
 
Fields inherited from class org.apache.bval.jsr303.ElementDescriptorImpl
elementClass, metaBean
 
Constructor Summary
PropertyDescriptorImpl(MetaProperty property)
          Create a new PropertyDescriptorImpl instance.
 
Method Summary
 String getPropertyName()
          
 boolean isCascaded()
          
 void setCascaded(boolean cascaded)
          Set whether the referenced property is cascaded.
 void setPropertyPath(String propertyPath)
          Set the referenced property path.
 String toString()
          
 
Methods inherited from class org.apache.bval.jsr303.ElementDescriptorImpl
findConstraints, getConstraintDescriptors, getConstraintDescriptors, getElementClass, getMetaBean, getMutableConstraintDescriptors, hasConstraints, setConstraintDescriptors
 
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
findConstraints, getConstraintDescriptors, getElementClass, hasConstraints
 

Constructor Detail

PropertyDescriptorImpl

PropertyDescriptorImpl(MetaProperty property)
Create a new PropertyDescriptorImpl instance.

Parameters:
property -
Method Detail

setCascaded

public void setCascaded(boolean cascaded)
Set whether the referenced property is cascaded.

Parameters:
cascaded -

isCascaded

public boolean isCascaded()

Specified by:
isCascaded in interface PropertyDescriptor

setPropertyPath

public void setPropertyPath(String propertyPath)
Set the referenced property path.

Parameters:
propertyPath -

getPropertyName

public String getPropertyName()

Specified by:
getPropertyName in interface PropertyDescriptor

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2010-2012 Apache Software Foundation. All Rights Reserved.