Class AbstractExecutionSession

java.lang.Object
org.ivoa.dm.executionbroker.AbstractExecutionSession
All Implemented Interfaces:
org.ivoa.vodml.jpa.JPAManipulations, org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
Direct Known Subclasses:
SimpleExecutionSession

@Entity @VoDml(id="execbroker:AbstractExecutionSession", role=objectType) public class AbstractExecutionSession extends Object implements org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
Abstract base class for execution sessions. objectType: AbstractExecutionSession
  • Field Details

    • _id

      protected Long _id
      inserted database key
  • Constructor Details

    • AbstractExecutionSession

      public AbstractExecutionSession()
      Creates a new AbstractExecutionSession
    • AbstractExecutionSession

      public AbstractExecutionSession(AbstractExecutionSession other)
      Copy Constructor. Note that references will remain as is rather than be copied.
      Parameters:
      other - the object to be copied.
  • Method Details

    • getId

      public Long getId()
      Specified by:
      getId in interface org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
      Returns:
      the id
    • copyMe

      public AbstractExecutionSession copyMe()
      make a clone of the object taking into account current polymorhic type.
      Returns:
      the cloned object.
    • updateUsing

      public void updateUsing(AbstractExecutionSession other)
      Update this object with the content of the given object. Note that references will remain as is rather than be copied.
      Parameters:
      other - the object to be copied.
    • createAbstractExecutionSession

      create a AbstractExecutionSession in functional builder style.
      Parameters:
      f - the functional builder.
      Returns:
      an object initialized from the builder.
    • forceLoad

      public void forceLoad()
      Specified by:
      forceLoad in interface org.ivoa.vodml.jpa.JPAManipulations
    • delete

      public void delete(jakarta.persistence.EntityManager em)
      Specified by:
      delete in interface org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>