Class EntityIdCoder

java.lang.Object
org.apache.cayenne.lifecycle.id.EntityIdCoder

public class EntityIdCoder extends Object
An object to encode/decode ObjectIds for a single mapped entity.
Since:
3.1
  • Constructor Details

    • EntityIdCoder

      public EntityIdCoder(ObjEntity entity)
  • Method Details

    • getEntityName

      public static String getEntityName(String id)
    • toStringId

      public String toStringId(ObjectId id)
      Returns a consistent String representation of the ObjectId
    • toObjectId

      public ObjectId toObjectId(String stringId)