Class TelescopeArrayMember

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

@Entity @VoDml(id="proposalManagement: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="proposalManagement:TelescopeArrayMember.telescope", role=reference, type="proposalManagement: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
    • persistRefs

      @Deprecated public void persistRefs(jakarta.persistence.EntityManager _em)
      Deprecated.
      generally better to use the model level reference persistence as only this can deal with "contained" references properly.
      Specified by:
      persistRefs in interface org.ivoa.vodml.jpa.JPAManipulations