Package me.ahoo.cosid.accessor.field
Class FieldGetter
java.lang.Object
me.ahoo.cosid.accessor.field.FieldGetter
- All Implemented Interfaces:
CosIdGetter
ID getter that accesses field directly.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FieldGetter
Creates a getter for the specified field.- Parameters:
idField- the field to access
-
-
Method Details
-
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
-