java.lang.Object
software.xdev.spring.data.eclipse.store.repository.root.EntityData<T,ID>
Type Parameters:
T - type of entity to store
ID - type of id of the entity to store. Can be Void if no ID is used.

@Deprecated(forRemoval=false, since="2.4.0") public class EntityData<T,ID> extends Object
Deprecated.
should not be initialised anymore. Version for <2.4.0
This is a object for all versions <2.4.0 and is used for upgrading to the new root.
  • Constructor Details

    • EntityData

      public EntityData()
      Deprecated.
  • Method Details

    • setIdGetter

      public void setIdGetter(Function<T,ID> idGetter)
      Deprecated.
      Accepts null if no id field is defined
    • getEntities

      public IdentitySet<T> getEntities()
      Deprecated.
    • getLastId

      public ID getLastId()
      Deprecated.
    • getEntitiesById

      public HashMap<ID,T> getEntitiesById()
      Deprecated.
    • getEntityCount

      public long getEntityCount()
      Deprecated.
    • setLastId

      public void setLastId(Object lastId)
      Deprecated.
    • ensureEntityAndReturnObjectsToStore

      public Collection<Object> ensureEntityAndReturnObjectsToStore(T entityToStore)
      Deprecated.
    • getObjectsToStore

      public Collection<Object> getObjectsToStore()
      Deprecated.
    • removeEntityAndReturnObjectsToStore

      public Collection<Object> removeEntityAndReturnObjectsToStore(T entityToRemove)
      Deprecated.
    • removeAllEntitiesAndReturnObjectsToStore

      public Collection<Object> removeAllEntitiesAndReturnObjectsToStore()
      Deprecated.