Package org.ivoa.dm.demodm.catalog
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder class for AlignedEllipse, mainly for use in the functional builder pattern. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new AlignedEllipseAlignedEllipse(Double longError, Double latError) full parameter constructor.AlignedEllipse(AlignedEllipse other) Copy Constructor.AlignedEllipse(SkyError superinstance, Double longError, Double latError) Constructor from supertype instance. -
Method Summary
Modifier and TypeMethodDescriptioncopyMe()make a clone of the object taking into account current polymorhic type.static AlignedEllipsecreate a AlignedEllipse in functional builder style.voidReturns latError Attribute.Returns longError Attribute.voidsetLatError(Double pLatError) Set latError Attribute.voidsetLongError(Double pLongError) Set longError Attribute.voidupdateUsing(AlignedEllipse other) Update this object with the content of the given object.withLatError(Double pLatError) fluent setter for latError Attribute.withLongError(Double pLongError) fluent setter for longError Attribute.Methods inherited from class org.ivoa.dm.demodm.catalog.SkyError
updateUsing
-
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
full parameter constructor.- Parameters:
longError- .latError- .
-
AlignedEllipse
Copy Constructor. Note that references will remain as is rather than be copied.- Parameters:
other- the object to be copied.
-
AlignedEllipse
Constructor from supertype instance.- Parameters:
superinstance- The supertype.longError- .latError- .
-
-
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.
-
getLongError
Returns longError Attribute.- Returns:
- longError Attribute
-
setLongError
Set longError Attribute.- Parameters:
pLongError- value to set
-
withLongError
fluent setter for longError Attribute.- Parameters:
pLongError- value to set- Returns:
- AlignedEllipse
-
getLatError
Returns latError Attribute.- Returns:
- latError Attribute
-
setLatError
Set latError Attribute.- Parameters:
pLatError- value to set
-
withLatError
fluent setter for latError Attribute.- Parameters:
pLatError- value to set- Returns:
- AlignedEllipse
-
createAlignedEllipse
create a AlignedEllipse in functional builder style.- Parameters:
f- the functional builder.- Returns:
- an object initialized from the builder.
-
forceLoad
public void forceLoad()
-