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 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 center
      The 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 size
      The lengths of the box's sides
  • Constructor Details

  • 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 is Double2Type
      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 is Double2Type
      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)
      Overrides:
      equals in class ShapeType
    • 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:
      hashCode in class ShapeType
    • 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:
      toString in class ShapeType
    • 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:
      append in interface org.jvnet.jaxb.lang.ToString
      Overrides:
      append in class ShapeType
    • 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:
      appendFields in interface org.jvnet.jaxb.lang.ToString
      Overrides:
      appendFields in class ShapeType
    • 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)
      Overrides:
      withArea in class ShapeType
    • withNote

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public BoxType withNote(String value)
      Overrides:
      withNote in class ShapeType
    • 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:
      withCoordSystemId in class ShapeType
    • 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)
      Overrides:
      withEpoch in class ShapeType
    • withUnit

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public BoxType withUnit(String value)
      Overrides:
      withUnit in class ShapeType
    • 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:
      withLoInclude in class ShapeType
    • 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:
      withHiInclude in class ShapeType
    • 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:
      withFillFactor in class ShapeType
    • 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:
      withFrameId in class ShapeType
    • withId

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public BoxType withId(String value)
      Overrides:
      withId in class ShapeType
    • withIdref

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public BoxType withIdref(Object value)
      Overrides:
      withIdref in class ShapeType
    • withUcd

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public BoxType withUcd(String value)
      Overrides:
      withUcd in class ShapeType
    • withType

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public BoxType withType(String value)
      Overrides:
      withType in class ShapeType
    • withHref

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public BoxType withHref(String value)
      Overrides:
      withHref in class ShapeType
    • 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:
      withIDType in class ShapeType
    • 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:
      withIDREFType in class ShapeType
    • 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:
      mergeFrom in interface org.jvnet.jaxb.lang.MergeFrom
      Overrides:
      mergeFrom in class ShapeType
    • 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:
      mergeFrom in interface org.jvnet.jaxb.lang.MergeFrom
      Overrides:
      mergeFrom in class ShapeType
    • 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:
      createNewInstance in interface org.jvnet.jaxb.lang.MergeFrom
      Overrides:
      createNewInstance in class ShapeType