Class SolarSystemTarget

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

@Entity @VoDml(id="proposal:SolarSystemTarget", role=objectType) public class SolarSystemTarget extends Target implements org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>, org.ivoa.vodml.jaxb.XmlIdManagement
. objectType: SolarSystemTarget
  • Constructor Details

    • SolarSystemTarget

      public SolarSystemTarget()
      Creates a new SolarSystemTarget
    • SolarSystemTarget

      public SolarSystemTarget(String sourceName)
      full parameter constructor.
      Parameters:
      sourceName - A common name for the source.
    • SolarSystemTarget

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

      public SolarSystemTarget(Target superinstance)
      Constructor from supertype instance.
      Parameters:
      superinstance - The supertype.
  • Method Details

    • copyMe

      public Target copyMe()
      make a clone of the object taking into account current polymorhic type.
      Specified by:
      copyMe in class Target
      Returns:
      the cloned object.
    • updateUsing

      public void updateUsing(SolarSystemTarget 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.
    • createSolarSystemTarget

      public static SolarSystemTarget createSolarSystemTarget(Consumer<SolarSystemTarget.SolarSystemTargetBuilder> f)
      create a SolarSystemTarget 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
      Overrides:
      forceLoad in class Target
    • 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
      Overrides:
      persistRefs in class Target