Class IdMapKeyAccessor

java.lang.Object
org.apache.cayenne.reflect.IdMapKeyAccessor
All Implemented Interfaces:
Serializable, Accessor

public class IdMapKeyAccessor extends Object implements Accessor
A stateless read-only accessor of the map key value that is based on the Persistent object id. For single-column ID's the accessor returns a single value (e.g. an Integer). For multi-column ID's it returns the ObjectId.
Since:
3.0
See Also:
  • Field Details

    • SHARED_ACCESSOR

      public static final Accessor SHARED_ACCESSOR
  • Constructor Details

    • IdMapKeyAccessor

      public IdMapKeyAccessor()
  • Method Details