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

    Modifier and Type
    Method
    Description
    getId(Object target)
    Gets the ID value from the target object.
  • Method Details

    • getId

      Object getId(Object target)
      Gets the ID value from the target object.
      Parameters:
      target - the object to get ID from
      Returns:
      the ID value