Class BoxType
- 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 BoxType
extends ShapeType
implements org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
Box shape: a rectangle defined by its center and size on both dimensions; since it is a polygon, it is redundant, but simple rectangles with great circle sides are awkward to define in spherical coordinates
Java class for boxType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="boxType">
<complexContent>
<extension base="{http://www.ivoa.net/xml/STC/stc-v1.30.xsd}shapeType">
<sequence>
<element name="Center" type="{http://www.ivoa.net/xml/STC/stc-v1.30.xsd}double2Type"/>
<element name="Size" type="{http://www.ivoa.net/xml/STC/stc-v1.30.xsd}double2Type"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Double2TypeThe coordinates of the box's centerprotected Double2TypeThe lengths of the box's sidesFields inherited from class org.javastro.ivoa.entities.stc.v1.RegionType
area, coordSystemId, noteFields 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
ConstructorsConstructorDescriptionBoxType()Default no-arg constructorBoxType(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, RegionAreaType area, String note, Object coordSystemId, Double2Type center, Double2Type size) 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) booleanThe coordinates of the box's centergetSize()The lengths of the box's sidesinthashCode()voidvoidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) voidsetCenter(Double2Type value) Sets the value of the center property.voidsetSize(Double2Type value) Sets the value of the size property.toString()withArea(RegionAreaType value) withCenter(Double2Type value) withCoordSystemId(Object value) withEpoch(BigDecimal value) withFillFactor(Float value) withFrameId(Object value) withHiInclude(Boolean value) withIDREFType(String value) withIDType(String value) withLoInclude(Boolean value) withSize(Double2Type value) Methods inherited from class org.javastro.ivoa.entities.stc.v1.RegionType
getArea, getCoordSystemId, getNote, setArea, setCoordSystemId, setNoteMethods 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
-
center
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected Double2Type centerThe coordinates of the box's center -
size
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected Double2Type sizeThe lengths of the box's sides
-
-
Constructor Details
-
BoxType
public BoxType()Default no-arg constructor -
BoxType
public BoxType(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, RegionAreaType area, String note, Object coordSystemId, Double2Type center, Double2Type size) Fully-initialising value constructor
-
-
Method Details
-
getCenter
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Double2Type getCenter()The coordinates of the box's center- Returns:
- possible object is
Double2Type
-
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(Double2Type value) Sets the value of the center property.- Parameters:
value- allowed object isDouble2Type- See Also:
-
getSize
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Double2Type getSize()The lengths of the box's sides- Returns:
- possible object is
Double2Type
-
setSize
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setSize(Double2Type value) Sets the value of the size property.- Parameters:
value- allowed object isDouble2Type- See Also:
-
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) -
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() -
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() -
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) -
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 classShapeType
-
withCenter
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public BoxType withCenter(Double2Type value) -
withSize
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public BoxType withSize(Double2Type value) -
withArea
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public BoxType withArea(RegionAreaType value) -
withNote
-
withCoordSystemId
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public BoxType withCoordSystemId(Object value) - Overrides:
withCoordSystemIdin classShapeType
-
withEpoch
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public BoxType withEpoch(BigDecimal value) -
withUnit
-
withLoInclude
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public BoxType withLoInclude(Boolean value) - Overrides:
withLoIncludein classShapeType
-
withHiInclude
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public BoxType withHiInclude(Boolean value) - Overrides:
withHiIncludein classShapeType
-
withFillFactor
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public BoxType withFillFactor(Float value) - Overrides:
withFillFactorin classShapeType
-
withFrameId
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public BoxType withFrameId(Object value) - Overrides:
withFrameIdin classShapeType
-
withId
-
withIdref
-
withUcd
-
withType
-
withHref
-
withIDType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public BoxType withIDType(String value) - Overrides:
withIDTypein classShapeType
-
withIDREFType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public BoxType withIDREFType(String value) - Overrides:
withIDREFTypein classShapeType
-
mergeFrom
-
mergeFrom
-
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 classShapeType
-