Class EntityClass.EntityId

java.lang.Object
org.fastnate.generator.context.EntityClass.EntityId
Enclosing class:
EntityClass<E>

private static final class EntityClass.EntityId extends Object
Helper object to use as key in the state map, if we have a GeneratedIdProperty. As the hashcode of entities in some implementations changes if the id changes, we can't use the entity as key itself. As result, the hash map is used as linked list.
  • Field Details

    • entity

      private final Object entity
  • Constructor Details

    • EntityId

      public EntityId(Object entity)
  • Method Details