Class BoxType
- All Implemented Interfaces:
com.kscs.util.jaxb.Copyable,com.kscs.util.jaxb.PartialCopyable,Cloneable,org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
@Generated(value="com.sun.tools.xjc.Driver",
comments="JAXB RI v4.0.4",
date="2025-09-10T09:00:07+01:00")
public class BoxType
extends ShapeType
implements Cloneable, com.kscs.util.jaxb.Copyable, com.kscs.util.jaxb.PartialCopyable, 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>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classclassstatic classstatic classstatic classBoxType.Selector<TRoot extends com.kscs.util.jaxb.Selector<TRoot,?>, TParent> -
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, loIncludeFields inherited from class org.javastro.ivoa.entities.stc.v1.StcBaseType
__cachedModifier__, href, id, idref, idrefType, idType, type, ucd -
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) static BoxType.Builder<Void>builder()clone()copyExcept(com.kscs.util.jaxb.PropertyTree _propertyTree) static BoxType.Builder<Void>copyExcept(BoxType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static BoxType.Builder<Void>copyExcept(CoordIntervalType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static BoxType.Builder<Void>copyExcept(RegionType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static BoxType.Builder<Void>copyExcept(ShapeType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static BoxType.Builder<Void>copyExcept(SpatialIntervalType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static BoxType.Builder<Void>copyExcept(StcBaseType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static <_B> BoxType.Builder<_B>static <_B> BoxType.Builder<_B>copyOf(BoxType _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) static <_B> BoxType.Builder<_B>copyOf(CoordIntervalType _other) static <_B> BoxType.Builder<_B>copyOf(CoordIntervalType _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) static <_B> BoxType.Builder<_B>copyOf(RegionType _other) static <_B> BoxType.Builder<_B>copyOf(RegionType _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) static <_B> BoxType.Builder<_B>static <_B> BoxType.Builder<_B>copyOf(ShapeType _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) static <_B> BoxType.Builder<_B>copyOf(SpatialIntervalType _other) static <_B> BoxType.Builder<_B>copyOf(SpatialIntervalType _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) static <_B> BoxType.Builder<_B>copyOf(StcBaseType _other) static <_B> BoxType.Builder<_B>copyOf(StcBaseType _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) copyOnly(com.kscs.util.jaxb.PropertyTree _propertyTree) static BoxType.Builder<Void>static BoxType.Builder<Void>copyOnly(CoordIntervalType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static BoxType.Builder<Void>copyOnly(RegionType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static BoxType.Builder<Void>static BoxType.Builder<Void>copyOnly(SpatialIntervalType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static BoxType.Builder<Void>copyOnly(StcBaseType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) <_B> voidcopyTo(BoxType.Builder<_B> _other) Copies all state of this object to a builder.<_B> voidcopyTo(BoxType.Builder<_B> _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) Copies all state of this object to a builder.createCopy(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) 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) modifier()<_B> BoxType.Builder<_B>newCopyBuilder(_B _parentBuilder) <_B> BoxType.Builder<_B>newCopyBuilder(_B _parentBuilder, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) newCopyBuilder(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) voidsetCenter(Double2Type value) Sets the value of the center property.voidsetSize(Double2Type value) Sets the value of the size property.toString()visit(com.kscs.util.jaxb.PropertyVisitor _visitor_) Methods inherited from class org.javastro.ivoa.entities.stc.v1.RegionType
copyTo, copyTo, getArea, getCoordSystemId, getNote, setArea, setCoordSystemId, setNoteMethods inherited from class org.javastro.ivoa.entities.stc.v1.SpatialIntervalType
copyTo, copyTo, getEpoch, getUnit, setEpoch, setUnitMethods inherited from class org.javastro.ivoa.entities.stc.v1.CoordIntervalType
copyTo, copyTo, getFillFactor, getFrameId, isHiInclude, isLoInclude, setFillFactor, setFrameId, setHiInclude, setLoInclude
-
Field Details
-
center
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+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="2025-09-10T09:00:07+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="2025-09-10T09:00:07+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="2025-09-10T09:00:07+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="2025-09-10T09:00:07+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="2025-09-10T09:00:07+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="2025-09-10T09:00:07+01:00") public boolean equals(Object object) -
hashCode
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public int hashCode() -
toString
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public String toString() -
append
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+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="2025-09-10T09:00:07+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
-
mergeFrom
-
mergeFrom
-
createNewInstance
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Object createNewInstance()- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
createNewInstancein classShapeType
-
clone
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public BoxType clone() -
createCopy
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public BoxType createCopy()- Specified by:
createCopyin interfacecom.kscs.util.jaxb.Copyable- Overrides:
createCopyin classShapeType
-
createCopy
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public BoxType createCopy(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) - Specified by:
createCopyin interfacecom.kscs.util.jaxb.PartialCopyable- Overrides:
createCopyin classShapeType
-
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public BoxType copyExcept(com.kscs.util.jaxb.PropertyTree _propertyTree) - Specified by:
copyExceptin interfacecom.kscs.util.jaxb.PartialCopyable- Overrides:
copyExceptin classShapeType
-
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public BoxType copyOnly(com.kscs.util.jaxb.PropertyTree _propertyTree) -
modifier
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public BoxType.Modifier modifier() -
copyTo
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public <_B> void copyTo(BoxType.Builder<_B> _other) Copies all state of this object to a builder. This method is used by the copyOf method and should not be called directly by client code.- Parameters:
_other- A builder instance to which the state of this object will be copied.
-
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public <_B> BoxType.Builder<_B> newCopyBuilder(_B _parentBuilder) - Overrides:
newCopyBuilderin classShapeType
-
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public BoxType.Builder<Void> newCopyBuilder()- Overrides:
newCopyBuilderin classShapeType
-
builder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static BoxType.Builder<Void> builder() -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static <_B> BoxType.Builder<_B> copyOf(StcBaseType _other) -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static <_B> BoxType.Builder<_B> copyOf(CoordIntervalType _other) -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static <_B> BoxType.Builder<_B> copyOf(SpatialIntervalType _other) -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static <_B> BoxType.Builder<_B> copyOf(RegionType _other) -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static <_B> BoxType.Builder<_B> copyOf(ShapeType _other) -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static <_B> BoxType.Builder<_B> copyOf(BoxType _other) -
copyTo
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public <_B> void copyTo(BoxType.Builder<_B> _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) Copies all state of this object to a builder. This method is used by the copyOf method and should not be called directly by client code.- Parameters:
_other- A builder instance to which the state of this object will be copied.
-
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public <_B> BoxType.Builder<_B> newCopyBuilder(_B _parentBuilder, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) - Overrides:
newCopyBuilderin classShapeType
-
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public BoxType.Builder<Void> newCopyBuilder(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) - Overrides:
newCopyBuilderin classShapeType
-
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static <_B> BoxType.Builder<_B> copyOf(StcBaseType _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static <_B> BoxType.Builder<_B> copyOf(CoordIntervalType _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static <_B> BoxType.Builder<_B> copyOf(SpatialIntervalType _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static <_B> BoxType.Builder<_B> copyOf(RegionType _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static <_B> BoxType.Builder<_B> copyOf(ShapeType _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static <_B> BoxType.Builder<_B> copyOf(BoxType _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static BoxType.Builder<Void> copyExcept(StcBaseType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static BoxType.Builder<Void> copyExcept(CoordIntervalType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static BoxType.Builder<Void> copyExcept(SpatialIntervalType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static BoxType.Builder<Void> copyExcept(RegionType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static BoxType.Builder<Void> copyExcept(ShapeType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static BoxType.Builder<Void> copyExcept(BoxType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static BoxType.Builder<Void> copyOnly(StcBaseType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static BoxType.Builder<Void> copyOnly(CoordIntervalType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static BoxType.Builder<Void> copyOnly(SpatialIntervalType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static BoxType.Builder<Void> copyOnly(RegionType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static BoxType.Builder<Void> copyOnly(ShapeType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static BoxType.Builder<Void> copyOnly(BoxType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
visit
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public BoxType visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
-