Interface HasDbReferences

    • Method Detail

      • getReferencedEntityIds

        java.util.Set<java.lang.String> getReferencedEntityIds()

        Scope: IN-MEMORY references

        Returns:
        the ids of the entities that this entity references. Should only return ids for entities of the same type
      • getReferencedEntitiesIdAndClass

        java.util.Map<java.lang.String,​java.lang.Class> getReferencedEntitiesIdAndClass()

        Scope: IN-MEMORY references

        Returns:
        a map of the ids and the entities' classes that this entity references. It's used when trying to determine if there was an Optimistic Locking occurrence on an INSERT or UPDATE of an object of this type.
      • getDependentEntities

        default java.util.Map<java.lang.String,​java.lang.Class> getDependentEntities()

        Scope: PERSISTED references