Class AbstractGenericEto.PersistentEntityAccess

  • Enclosing class:
    AbstractGenericEto<ID>

    public static class AbstractGenericEto.PersistentEntityAccess
    extends Object
    Inner class to grant access to internal persistent entity reference of an AbstractGenericEto. Shall only be used internally and never be external users.
    • Constructor Detail

      • PersistentEntityAccess

        public PersistentEntityAccess()
    • Method Detail

      • setPersistentEntity

        protected <ID> void setPersistentEntity​(AbstractGenericEto<ID> eto,
                                                GenericEntity<ID> persistentEntity)
        Sets the internal persistent entity reference of the given AbstractGenericEto.
        Type Parameters:
        ID - is the generic type of the ID.
        Parameters:
        eto - is the ETO.
        persistentEntity - is the persistent entity.