Class Ellipse

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

@Entity @VoDml(id="proposal:Ellipse", role=objectType) public class Ellipse extends Field implements org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>, org.ivoa.vodml.jaxb.XmlIdManagement
Specialization of a Field for an elliptical map. objectType: Ellipse
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    A builder class for Ellipse, mainly for use in the functional builder pattern.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.ivoa.dm.ivoa.RealQuantity
    .
    protected org.ivoa.dm.ivoa.RealQuantity
    .
    protected org.ivoa.dm.ivoa.RealQuantity
    .

    Fields inherited from class org.ivoa.dm.proposal.prop.Field

    _id, name
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new Ellipse
    Ellipse(org.ivoa.dm.ivoa.RealQuantity semiMajor, org.ivoa.dm.ivoa.RealQuantity semiMinor, org.ivoa.dm.ivoa.RealQuantity pAMajor, String name)
    full parameter constructor.
    Copy Constructor.
    Ellipse(Field superinstance, org.ivoa.dm.ivoa.RealQuantity semiMajor, org.ivoa.dm.ivoa.RealQuantity semiMinor, org.ivoa.dm.ivoa.RealQuantity pAMajor)
    Constructor from supertype instance.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    static Ellipse
    create a Ellipse in functional builder style.
    void
     
    org.ivoa.dm.ivoa.RealQuantity
    Returns pAMajor Attribute
    org.ivoa.dm.ivoa.RealQuantity
    Returns semiMajor Attribute
    org.ivoa.dm.ivoa.RealQuantity
    Returns semiMinor Attribute
    void
    jpaClone(jakarta.persistence.EntityManager em)
     
    void
    persistRefs(jakarta.persistence.EntityManager _em)
     
    void
    setPAMajor(org.ivoa.dm.ivoa.RealQuantity pPAMajor)
    Defines pAMajor Attribute
    void
    setSemiMajor(org.ivoa.dm.ivoa.RealQuantity pSemiMajor)
    Defines semiMajor Attribute
    void
    setSemiMinor(org.ivoa.dm.ivoa.RealQuantity pSemiMinor)
    Defines semiMinor Attribute
    void
    Update this object with the content of the given object.
    withPAMajor(org.ivoa.dm.ivoa.RealQuantity pPAMajor)
     
    withSemiMajor(org.ivoa.dm.ivoa.RealQuantity pSemiMajor)
     
    withSemiMinor(org.ivoa.dm.ivoa.RealQuantity pSemiMinor)
     

    Methods inherited from class org.ivoa.dm.proposal.prop.Field

    getId, getName, getXmlId, hasNaturalKey, setName, setXmlId, updateUsing, withName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.ivoa.vodml.jpa.JPAManipulationsForObjectType

    getId

    Methods inherited from interface org.ivoa.vodml.jaxb.XmlIdManagement

    getXmlId, hasNaturalKey, setXmlId
  • Field Details

    • semiMajor

      @VoDml(id="proposal:Ellipse.semiMajor", role=attribute, type="ivoa:RealQuantity", typeRole=dataType) protected org.ivoa.dm.ivoa.RealQuantity semiMajor
      . : Attribute semiMajor : multiplicity 1
    • semiMinor

      @VoDml(id="proposal:Ellipse.semiMinor", role=attribute, type="ivoa:RealQuantity", typeRole=dataType) protected org.ivoa.dm.ivoa.RealQuantity semiMinor
      . : Attribute semiMinor : multiplicity 1
    • pAMajor

      @VoDml(id="proposal:Ellipse.pAMajor", role=attribute, type="ivoa:RealQuantity", typeRole=dataType) protected org.ivoa.dm.ivoa.RealQuantity pAMajor
      . : Attribute pAMajor : multiplicity 1
  • Constructor Details

    • Ellipse

      public Ellipse()
      Creates a new Ellipse
    • Ellipse

      public Ellipse(org.ivoa.dm.ivoa.RealQuantity semiMajor, org.ivoa.dm.ivoa.RealQuantity semiMinor, org.ivoa.dm.ivoa.RealQuantity pAMajor, String name)
      full parameter constructor.
      Parameters:
      semiMajor - .
      semiMinor - .
      pAMajor - .
      name - .
    • Ellipse

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

      public Ellipse(Field superinstance, org.ivoa.dm.ivoa.RealQuantity semiMajor, org.ivoa.dm.ivoa.RealQuantity semiMinor, org.ivoa.dm.ivoa.RealQuantity pAMajor)
      Constructor from supertype instance.
      Parameters:
      superinstance - The supertype.
      semiMajor - .
      semiMinor - .
      pAMajor - .
  • Method Details

    • copyMe

      public Field copyMe()
      Specified by:
      copyMe in class Field
    • updateUsing

      public void updateUsing(Ellipse 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.
    • getSemiMajor

      public org.ivoa.dm.ivoa.RealQuantity getSemiMajor()
      Returns semiMajor Attribute
      Returns:
      semiMajor Attribute
    • setSemiMajor

      public void setSemiMajor(org.ivoa.dm.ivoa.RealQuantity pSemiMajor)
      Defines semiMajor Attribute
      Parameters:
      pSemiMajor - value to set
    • withSemiMajor

      public Ellipse withSemiMajor(org.ivoa.dm.ivoa.RealQuantity pSemiMajor)
    • getSemiMinor

      public org.ivoa.dm.ivoa.RealQuantity getSemiMinor()
      Returns semiMinor Attribute
      Returns:
      semiMinor Attribute
    • setSemiMinor

      public void setSemiMinor(org.ivoa.dm.ivoa.RealQuantity pSemiMinor)
      Defines semiMinor Attribute
      Parameters:
      pSemiMinor - value to set
    • withSemiMinor

      public Ellipse withSemiMinor(org.ivoa.dm.ivoa.RealQuantity pSemiMinor)
    • getPAMajor

      public org.ivoa.dm.ivoa.RealQuantity getPAMajor()
      Returns pAMajor Attribute
      Returns:
      pAMajor Attribute
    • setPAMajor

      public void setPAMajor(org.ivoa.dm.ivoa.RealQuantity pPAMajor)
      Defines pAMajor Attribute
      Parameters:
      pPAMajor - value to set
    • withPAMajor

      public Ellipse withPAMajor(org.ivoa.dm.ivoa.RealQuantity pPAMajor)
    • createEllipse

      public static Ellipse createEllipse(Consumer<Ellipse.EllipseBuilder> f)
      create a Ellipse 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 Field
    • jpaClone

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

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