Package org.hibernate.property
Class NoopAccessor
java.lang.Object
org.hibernate.property.NoopAccessor
- All Implemented Interfaces:
PropertyAccessor
Used to declare properties not represented at the pojo level
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NoopAccessor
public NoopAccessor()
-
-
Method Details
-
getGetter
Create a "getter" for the named attribute- Specified by:
getGetterin interfacePropertyAccessor- Parameters:
arg0- The class on which the property is defined.arg1- The name of the property.- Returns:
- An appropriate getter.
- Throws:
PropertyNotFoundException- Indicates a problem interpretting the propertyName
-
getSetter
Create a "setter" for the named attribute- Specified by:
getSetterin interfacePropertyAccessor- Parameters:
arg0- The class on which the property is defined.arg1- The name of the property.- Returns:
- An appropriate setter
- Throws:
PropertyNotFoundException- Indicates a problem interpretting the propertyName
-