Class SphereType
java.lang.Object
org.javastro.ivoa.entities.stc.v1.StcBaseType
org.javastro.ivoa.entities.stc.v1.CoordIntervalType
org.javastro.ivoa.entities.stc.v1.SpatialIntervalType
org.javastro.ivoa.entities.stc.v1.SphereType
- All Implemented Interfaces:
org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
@Generated(value="com.sun.tools.xjc.Driver",
comments="JAXB RI v4.0.4",
date="2024-08-01T13:15:43+01:00")
public class SphereType
extends SpatialIntervalType
implements org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
Defines a sphere. A special kind of area is a circle or sphere (in two or three dimensions), defined by a center position and a radius; the radius requires a unit
Java class for sphereType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="sphereType">
<complexContent>
<extension base="{http://www.ivoa.net/xml/STC/stc-v1.30.xsd}spatialIntervalType">
<sequence>
<element name="Radius" type="{http://www.ivoa.net/xml/STC/stc-v1.30.xsd}double1Type"/>
<element name="Center" type="{http://www.ivoa.net/xml/STC/stc-v1.30.xsd}double3Type"/>
</sequence>
<attribute name="radius_unit" type="{http://www.ivoa.net/xml/STC/stc-v1.30.xsd}posUnitType" default="deg" />
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsFields inherited from class org.javastro.ivoa.entities.stc.v1.SpatialIntervalType
epoch, unitFields inherited from class org.javastro.ivoa.entities.stc.v1.CoordIntervalType
fillFactor, frameId, hiInclude, loInclude -
Constructor Summary
ConstructorsConstructorDescriptionDefault no-arg constructorSphereType(String id, Object idref, String ucd, String type, String href, String idType, String idrefType, Boolean loInclude, Boolean hiInclude, Float fillFactor, Object frameId, BigDecimal epoch, String unit, Double1Type radius, Double3Type center, String radiusUnit) Fully-initialising value constructor -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) booleanGets the value of the center property.Gets the value of the radius property.Gets the value of the radiusUnit property.inthashCode()voidvoidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) voidsetCenter(Double3Type value) Sets the value of the center property.voidsetRadius(Double1Type value) Sets the value of the radius property.voidsetRadiusUnit(String value) Sets the value of the radiusUnit property.toString()withCenter(Double3Type value) withEpoch(BigDecimal value) withFillFactor(Float value) withFrameId(Object value) withHiInclude(Boolean value) withIDREFType(String value) withIDType(String value) withLoInclude(Boolean value) withRadius(Double1Type value) withRadiusUnit(String value) Methods inherited from class org.javastro.ivoa.entities.stc.v1.SpatialIntervalType
getEpoch, getUnit, setEpoch, setUnitMethods inherited from class org.javastro.ivoa.entities.stc.v1.CoordIntervalType
getFillFactor, getFrameId, isHiInclude, isLoInclude, setFillFactor, setFrameId, setHiInclude, setLoIncludeMethods inherited from class org.javastro.ivoa.entities.stc.v1.StcBaseType
getHref, getId, getIdref, getIDREFType, getIDType, getType, getUcd, setHref, setId, setIdref, setIDREFType, setIDType, setType, setUcd
-
Field Details
-
radius
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected Double1Type radius -
center
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected Double3Type center -
radiusUnit
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected String radiusUnit
-
-
Constructor Details
-
SphereType
public SphereType()Default no-arg constructor -
SphereType
public SphereType(String id, Object idref, String ucd, String type, String href, String idType, String idrefType, Boolean loInclude, Boolean hiInclude, Float fillFactor, Object frameId, BigDecimal epoch, String unit, Double1Type radius, Double3Type center, String radiusUnit) Fully-initialising value constructor
-
-
Method Details
-
getRadius
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Double1Type getRadius()Gets the value of the radius property.- Returns:
- possible object is
Double1Type
-
setRadius
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setRadius(Double1Type value) Sets the value of the radius property.- Parameters:
value- allowed object isDouble1Type
-
getCenter
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Double3Type getCenter()Gets the value of the center property.- Returns:
- possible object is
Double3Type
-
setCenter
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setCenter(Double3Type value) Sets the value of the center property.- Parameters:
value- allowed object isDouble3Type
-
getRadiusUnit
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public String getRadiusUnit()Gets the value of the radiusUnit property.- Returns:
- possible object is
String
-
setRadiusUnit
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setRadiusUnit(String value) Sets the value of the radiusUnit property.- Parameters:
value- allowed object isString
-
equals
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public boolean equals(Object object) - Overrides:
equalsin classSpatialIntervalType
-
hashCode
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public int hashCode()- Overrides:
hashCodein classSpatialIntervalType
-
toString
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public String toString()- Overrides:
toStringin classSpatialIntervalType
-
append
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb.lang.ToString- Overrides:
appendin classSpatialIntervalType
-
appendFields
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb.lang.ToString- Overrides:
appendFieldsin classSpatialIntervalType
-
withRadius
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public SphereType withRadius(Double1Type value) -
withCenter
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public SphereType withCenter(Double3Type value) -
withRadiusUnit
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public SphereType withRadiusUnit(String value) -
withEpoch
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public SphereType withEpoch(BigDecimal value) - Overrides:
withEpochin classSpatialIntervalType
-
withUnit
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public SphereType withUnit(String value) - Overrides:
withUnitin classSpatialIntervalType
-
withLoInclude
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public SphereType withLoInclude(Boolean value) - Overrides:
withLoIncludein classSpatialIntervalType
-
withHiInclude
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public SphereType withHiInclude(Boolean value) - Overrides:
withHiIncludein classSpatialIntervalType
-
withFillFactor
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public SphereType withFillFactor(Float value) - Overrides:
withFillFactorin classSpatialIntervalType
-
withFrameId
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public SphereType withFrameId(Object value) - Overrides:
withFrameIdin classSpatialIntervalType
-
withId
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public SphereType withId(String value) - Overrides:
withIdin classSpatialIntervalType
-
withIdref
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public SphereType withIdref(Object value) - Overrides:
withIdrefin classSpatialIntervalType
-
withUcd
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public SphereType withUcd(String value) - Overrides:
withUcdin classSpatialIntervalType
-
withType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public SphereType withType(String value) - Overrides:
withTypein classSpatialIntervalType
-
withHref
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public SphereType withHref(String value) - Overrides:
withHrefin classSpatialIntervalType
-
withIDType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public SphereType withIDType(String value) - Overrides:
withIDTypein classSpatialIntervalType
-
withIDREFType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public SphereType withIDREFType(String value) - Overrides:
withIDREFTypein classSpatialIntervalType
-
mergeFrom
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void mergeFrom(Object left, Object right) - Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
mergeFromin classSpatialIntervalType
-
mergeFrom
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void mergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) - Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
mergeFromin classSpatialIntervalType
-
createNewInstance
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Object createNewInstance()- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
createNewInstancein classCoordIntervalType
-