Package org.ivoa.dm.demodm.catalog
Class CircleError
java.lang.Object
org.ivoa.dm.demodm.catalog.SkyError
org.ivoa.dm.demodm.catalog.CircleError
- All Implemented Interfaces:
org.ivoa.vodml.jpa.JPAManipulations
@Embeddable
@VoDml(id="DemoDM:catalog.CircleError",
role=dataType)
public class CircleError
extends SkyError
implements org.ivoa.vodml.jpa.JPAManipulations
.
dataType: CircleError
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder class for CircleError, mainly for use in the functional builder pattern. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new CircleErrorCircleError(Double radius) full parameter constructor.CircleError(CircleError other) Copy Constructor.CircleError(SkyError superinstance, Double radius) Constructor from supertype instance. -
Method Summary
Modifier and TypeMethodDescriptioncopyMe()make a clone of the object taking into account current polymorhic type.static CircleErrorcreate a CircleError in functional builder style.voidReturns radius Attribute.voidSet radius Attribute.voidupdateUsing(CircleError other) Update this object with the content of the given object.withRadius(Double pRadius) fluent setter for radius Attribute.Methods inherited from class org.ivoa.dm.demodm.catalog.SkyError
updateUsing
-
Field Details
-
radius
@VoDml(id="DemoDM:catalog.CircleError.radius", role=attribute, type="ivoa:real", typeRole=primitiveType) protected Double radius. : Attribute radius : multiplicity 1
-
-
Constructor Details
-
CircleError
public CircleError()Creates a new CircleError -
CircleError
full parameter constructor.- Parameters:
radius- .
-
CircleError
Copy Constructor. Note that references will remain as is rather than be copied.- Parameters:
other- the object to be copied.
-
CircleError
Constructor from supertype instance.- Parameters:
superinstance- The supertype.radius- .
-
-
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.
-
getRadius
Returns radius Attribute.- Returns:
- radius Attribute
-
setRadius
Set radius Attribute.- Parameters:
pRadius- value to set
-
withRadius
fluent setter for radius Attribute.- Parameters:
pRadius- value to set- Returns:
- CircleError
-
createCircleError
create a CircleError in functional builder style.- Parameters:
f- the functional builder.- Returns:
- an object initialized from the builder.
-
forceLoad
public void forceLoad()
-