Package org.ivoa.dm.proposal.prop
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
Modifier and TypeClassDescriptionstatic class
A builder class for Ellipse, mainly for use in the functional builder pattern. -
Field Summary
Modifier and TypeFieldDescriptionprotected org.ivoa.dm.ivoa.RealQuantity
.protected org.ivoa.dm.ivoa.RealQuantity
.protected org.ivoa.dm.ivoa.RealQuantity
. -
Constructor Summary
ConstructorDescriptionEllipse()
Creates a new EllipseEllipse
(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 TypeMethodDescriptioncopyMe()
static Ellipse
create a Ellipse in functional builder style.void
org.ivoa.dm.ivoa.RealQuantity
Returns pAMajor Attributeorg.ivoa.dm.ivoa.RealQuantity
Returns semiMajor Attributeorg.ivoa.dm.ivoa.RealQuantity
Returns semiMinor Attributevoid
jpaClone
(jakarta.persistence.EntityManager em) void
persistRefs
(jakarta.persistence.EntityManager _em) void
setPAMajor
(org.ivoa.dm.ivoa.RealQuantity pPAMajor) Defines pAMajor Attributevoid
setSemiMajor
(org.ivoa.dm.ivoa.RealQuantity pSemiMajor) Defines semiMajor Attributevoid
setSemiMinor
(org.ivoa.dm.ivoa.RealQuantity pSemiMinor) Defines semiMinor Attributevoid
updateUsing
(Ellipse other) 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
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
-
updateUsing
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
-
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
-
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
-
createEllipse
create a Ellipse in functional builder style.- Parameters:
f
- the functional builder.- Returns:
- an object initialized from the builder.
-
forceLoad
public void forceLoad() -
jpaClone
public void jpaClone(jakarta.persistence.EntityManager em) -
persistRefs
public void persistRefs(jakarta.persistence.EntityManager _em) - Specified by:
persistRefs
in interfaceorg.ivoa.vodml.jpa.JPAManipulations
- Overrides:
persistRefs
in classField
-