Class AlignedEllipse

java.lang.Object
org.ivoa.dm.demodm.catalog.SkyError
org.ivoa.dm.demodm.catalog.AlignedEllipse
All Implemented Interfaces:
org.ivoa.vodml.jpa.JPAManipulations

@Embeddable @VoDml(id="DemoDM:catalog.AlignedEllipse", role=dataType) public class AlignedEllipse extends SkyError implements org.ivoa.vodml.jpa.JPAManipulations
. dataType: AlignedEllipse
  • Field Details

    • longError

      @VoDml(id="DemoDM:catalog.AlignedEllipse.longError", role=attribute, type="ivoa:real", typeRole=primitiveType) protected Double longError
      . : Attribute longError : multiplicity 1
    • latError

      @VoDml(id="DemoDM:catalog.AlignedEllipse.latError", role=attribute, type="ivoa:real", typeRole=primitiveType) protected Double latError
      . : Attribute latError : multiplicity 1
  • Constructor Details

    • AlignedEllipse

      public AlignedEllipse()
      Creates a new AlignedEllipse
    • AlignedEllipse

      public AlignedEllipse(Double longError, Double latError)
      full parameter constructor.
      Parameters:
      longError - .
      latError - .
    • AlignedEllipse

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

      public AlignedEllipse(SkyError superinstance, Double longError, Double latError)
      Constructor from supertype instance.
      Parameters:
      superinstance - The supertype.
      longError - .
      latError - .
  • Method Details

    • copyMe

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

      public void updateUsing(AlignedEllipse 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.
    • getLongError

      public Double getLongError()
      Returns longError Attribute.
      Returns:
      longError Attribute
    • setLongError

      public void setLongError(Double pLongError)
      Set longError Attribute.
      Parameters:
      pLongError - value to set
    • withLongError

      public AlignedEllipse withLongError(Double pLongError)
      fluent setter for longError Attribute.
      Parameters:
      pLongError - value to set
      Returns:
      AlignedEllipse
    • getLatError

      public Double getLatError()
      Returns latError Attribute.
      Returns:
      latError Attribute
    • setLatError

      public void setLatError(Double pLatError)
      Set latError Attribute.
      Parameters:
      pLatError - value to set
    • withLatError

      public AlignedEllipse withLatError(Double pLatError)
      fluent setter for latError Attribute.
      Parameters:
      pLatError - value to set
      Returns:
      AlignedEllipse
    • createAlignedEllipse

      public static AlignedEllipse createAlignedEllipse(Consumer<AlignedEllipse.AlignedEllipseBuilder> f)
      create a AlignedEllipse 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 SkyError