Class ObservingConstraint

java.lang.Object
org.ivoa.dm.proposal.prop.ObservingConstraint
All Implemented Interfaces:
org.ivoa.vodml.jpa.JPAManipulations, org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
Direct Known Subclasses:
PointingConstaint, TimingConstraint

@Entity @VoDml(id="proposal:ObservingConstraint", role=objectType) public abstract class ObservingConstraint extends Object implements org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
a form of constraint on the observation. objectType: ObservingConstraint
  • Field Details

    • _id

      protected Long _id
      inserted database key
  • Constructor Details

    • ObservingConstraint

      public ObservingConstraint()
      Creates a new ObservingConstraint
  • Method Details

    • getId

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

      public abstract ObservingConstraint copyMe()
    • updateUsing

      public void updateUsing(ObservingConstraint 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.
    • forceLoad

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

      public void jpaClone(jakarta.persistence.EntityManager em)
      Specified by:
      jpaClone in interface org.ivoa.vodml.jpa.JPAManipulations
    • persistRefs

      public void persistRefs(jakarta.persistence.EntityManager _em)
      Specified by:
      persistRefs in interface org.ivoa.vodml.jpa.JPAManipulations