org.apache.bval.jsr303
Class PropertyDescriptorImpl
java.lang.Object
org.apache.bval.jsr303.ElementDescriptorImpl
org.apache.bval.jsr303.PropertyDescriptorImpl
- All Implemented Interfaces:
- ElementDescriptor, PropertyDescriptor
class PropertyDescriptorImpl
- extends ElementDescriptorImpl
- implements PropertyDescriptor
Description: PropertyDescriptor implementation.
PropertyDescriptorImpl
PropertyDescriptorImpl(MetaProperty property)
- Create a new PropertyDescriptorImpl instance.
- Parameters:
property -
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-2011 The Apache Software Foundation. All Rights Reserved.