Package me.ahoo.cosid.accessor
Interface CosIdGetter
- All Known Subinterfaces:
CosIdAccessor
- All Known Implementing Classes:
CosIdAccessor.NotFound,DefaultCosIdAccessor,FieldGetter,MethodGetter
public interface CosIdGetter
Interface for getting the ID value from an object.
Used by frameworks (MyBatis, etc.) to extract the ID from entities.
-
Method Summary
-
Method Details
-
getId
Gets the ID value from the target object.- Parameters:
target- the object to get ID from- Returns:
- the ID value
-