Interface CosIdSetter

All Known Subinterfaces:
CosIdAccessor
All Known Implementing Classes:
CosIdAccessor.NotFound, DefaultCosIdAccessor, FieldSetter, MethodSetter

public interface CosIdSetter
Interface for setting the ID value on an object.

Used by frameworks (MyBatis, etc.) to set the ID on entities.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setId(Object target, Object id)
    Sets the ID value on the target object.
  • Method Details

    • setId

      void setId(Object target, Object id)
      Sets the ID value on the target object.
      Parameters:
      target - the object to set ID on
      id - the ID value to set