Class TelescopeArrayMember

java.lang.Object
org.ivoa.dm.proposal.prop.TelescopeArrayMember
All Implemented Interfaces:
org.ivoa.vodml.jpa.JPAManipulations, org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>

@Entity @VoDml(id="proposal:TelescopeArrayMember", role=objectType) public class TelescopeArrayMember extends Object implements org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
. objectType: TelescopeArrayMember
  • Field Details

    • _id

      protected Long _id
      inserted database key
    • telescope

      @VoDml(id="proposal:TelescopeArrayMember.telescope", role=reference, type="proposal:Telescope", typeRole=objectType) protected Telescope telescope
      ReferenceObject telescope : . ( Multiplicity : 1 )
  • Constructor Details

    • TelescopeArrayMember

      public TelescopeArrayMember()
      Creates a new TelescopeArrayMember
    • TelescopeArrayMember

      public TelescopeArrayMember(Telescope telescope)
      full parameter constructor.
      Parameters:
      telescope - .
    • TelescopeArrayMember

      public TelescopeArrayMember(TelescopeArrayMember 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
    • updateClonedReferences

      public void updateClonedReferences()
      updates any cloned references that are contained within the hierarchy.
    • updateUsing

      public void updateUsing(TelescopeArrayMember 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.
    • getTelescope

      public Telescope getTelescope()
      Returns telescope Reference
      Returns:
      telescope Reference
    • setTelescope

      public void setTelescope(Telescope pTelescope)
      Defines telescope Reference
      Parameters:
      pTelescope - reference to set
    • createTelescopeArrayMember

      create a TelescopeArrayMember 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
    • 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