Package org.ivoa.dm.demodm.catalog
Class GenericEllipse
java.lang.Object
org.ivoa.dm.demodm.catalog.SkyError
org.ivoa.dm.demodm.catalog.GenericEllipse
- All Implemented Interfaces:
org.ivoa.vodml.jpa.JPAManipulations
@Embeddable
@VoDml(id="DemoDM:catalog.GenericEllipse",
role=dataType)
public class GenericEllipse
extends SkyError
implements org.ivoa.vodml.jpa.JPAManipulations
.
dataType: GenericEllipse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder class for GenericEllipse, mainly for use in the functional builder pattern. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new GenericEllipseGenericEllipse(Double major, Double minor, Double pa) full parameter constructor.GenericEllipse(GenericEllipse other) Copy Constructor.GenericEllipse(SkyError superinstance, Double major, Double minor, Double pa) Constructor from supertype instance. -
Method Summary
Modifier and TypeMethodDescriptioncopyMe()make a clone of the object taking into account current polymorhic type.static GenericEllipsecreate a GenericEllipse in functional builder style.voidgetMajor()Returns major Attribute.getMinor()Returns minor Attribute.getPa()Returns pa Attribute.voidSet major Attribute.voidSet minor Attribute.voidSet pa Attribute.voidupdateUsing(GenericEllipse other) Update this object with the content of the given object.fluent setter for major Attribute.fluent setter for minor Attribute.fluent setter for pa Attribute.Methods inherited from class org.ivoa.dm.demodm.catalog.SkyError
updateUsing
-
Field Details
-
major
@VoDml(id="DemoDM:catalog.GenericEllipse.major", role=attribute, type="ivoa:real", typeRole=primitiveType) protected Double majormajor axis of error ellipse. : Attribute major : multiplicity 1 -
minor
@VoDml(id="DemoDM:catalog.GenericEllipse.minor", role=attribute, type="ivoa:real", typeRole=primitiveType) protected Double minorminor axis of error ellipse. : Attribute minor : multiplicity 1 -
pa
@VoDml(id="DemoDM:catalog.GenericEllipse.pa", role=attribute, type="ivoa:real", typeRole=primitiveType) protected Double paPosition angle of error ellipse in coordinate system of position. : Attribute pa : multiplicity 1
-
-
Constructor Details
-
GenericEllipse
public GenericEllipse()Creates a new GenericEllipse -
GenericEllipse
full parameter constructor.- Parameters:
major- major axis of error ellipse.minor- minor axis of error ellipse.pa- Position angle of error ellipse in coordinate system of position.
-
GenericEllipse
Copy Constructor. Note that references will remain as is rather than be copied.- Parameters:
other- the object to be copied.
-
GenericEllipse
Constructor from supertype instance.- Parameters:
superinstance- The supertype.major- major axis of error ellipse.minor- minor axis of error ellipse.pa- Position angle of error ellipse in coordinate system of position.
-
-
Method Details
-
copyMe
make a clone of the object taking into account current polymorhic type. -
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.
-
getMajor
Returns major Attribute.- Returns:
- major Attribute
-
setMajor
Set major Attribute.- Parameters:
pMajor- value to set
-
withMajor
fluent setter for major Attribute.- Parameters:
pMajor- value to set- Returns:
- GenericEllipse
-
getMinor
Returns minor Attribute.- Returns:
- minor Attribute
-
setMinor
Set minor Attribute.- Parameters:
pMinor- value to set
-
withMinor
fluent setter for minor Attribute.- Parameters:
pMinor- value to set- Returns:
- GenericEllipse
-
getPa
Returns pa Attribute.- Returns:
- pa Attribute
-
setPa
Set pa Attribute.- Parameters:
pPa- value to set
-
withPa
fluent setter for pa Attribute.- Parameters:
pPa- value to set- Returns:
- GenericEllipse
-
createGenericEllipse
create a GenericEllipse in functional builder style.- Parameters:
f- the functional builder.- Returns:
- an object initialized from the builder.
-
forceLoad
public void forceLoad()
-