Package me.ahoo.cosid.accessor.method
Class MethodGetter
java.lang.Object
me.ahoo.cosid.accessor.method.MethodGetter
- All Implemented Interfaces:
CosIdGetter
ID getter that accesses via getter method.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MethodGetter
Creates a getter for the specified method.- Parameters:
getter- the getter method
-
-
Method Details
-
getGetter
Gets the getter method.- Returns:
- the getter method
-
getId
Description copied from interface:CosIdGetterGets the ID value from the target object.- Specified by:
getIdin interfaceCosIdGetter- Parameters:
target- the object to get ID from- Returns:
- the ID value
-