org.hibernate.property
public class BasicPropertyAccessor extends java.lang.Object implements PropertyAccessor
Modifier and Type | Class and Description |
---|---|
static class |
BasicPropertyAccessor.BasicGetter |
static class |
BasicPropertyAccessor.BasicSetter |
Constructor and Description |
---|
BasicPropertyAccessor() |
Modifier and Type | Method and Description |
---|---|
static Getter |
createGetter(java.lang.Class theClass,
java.lang.String propertyName) |
Getter |
getGetter(java.lang.Class theClass,
java.lang.String propertyName)
Create a "getter" for the named attribute
|
Setter |
getSetter(java.lang.Class theClass,
java.lang.String propertyName)
Create a "setter" for the named attribute
|
public Setter getSetter(java.lang.Class theClass, java.lang.String propertyName) throws PropertyNotFoundException
PropertyAccessor
getSetter
in interface PropertyAccessor
theClass
- The class on which the property is defined.propertyName
- The name of the property.PropertyNotFoundException
- Indicates a problem interpretting the propertyNamepublic Getter getGetter(java.lang.Class theClass, java.lang.String propertyName) throws PropertyNotFoundException
PropertyAccessor
getGetter
in interface PropertyAccessor
theClass
- The class on which the property is defined.propertyName
- The name of the property.PropertyNotFoundException
- Indicates a problem interpretting the propertyNamepublic static Getter createGetter(java.lang.Class theClass, java.lang.String propertyName) throws PropertyNotFoundException
PropertyNotFoundException
Copyright © 2014. All Rights Reserved.