Class CoordsType

java.lang.Object
org.javastro.ivoa.entities.stc.v1.StcBaseType
org.javastro.ivoa.entities.stc.v1.CoordsType
All Implemented Interfaces:
org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
Direct Known Subclasses:
AstroCoordsType, PixelCoordsType

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public class CoordsType extends StcBaseType implements org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
The generic coordsType A CoordSys consists of at least one coordinate frames; unfortunately, schema inheritance and polymorphism doesn't allow us to specify this in the most genarl way

Java class for coordsType complex type

.

The following schema fragment specifies the expected content contained within this class.


 <complexType name="coordsType">
   <complexContent>
     <extension base="{http://www.ivoa.net/xml/STC/stc-v1.30.xsd}stcBaseType">
       <sequence maxOccurs="unbounded" minOccurs="0">
         <element ref="{http://www.ivoa.net/xml/STC/stc-v1.30.xsd}GenCoordinate"/>
       </sequence>
       <attribute name="coord_system_id" use="required" type="{http://www.w3.org/2001/XMLSchema}IDREF" />
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

    • genCoordinates

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected List<jakarta.xml.bind.JAXBElement<? extends CoordinateType>> genCoordinates
      Head element of Generic coordinate substitution group
    • coordSystemId

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected Object coordSystemId
  • Constructor Details

    • CoordsType

      public CoordsType()
      Default no-arg constructor
    • CoordsType

      public CoordsType(String id, Object idref, String ucd, String type, String href, String idType, String idrefType, List<jakarta.xml.bind.JAXBElement<? extends CoordinateType>> genCoordinates, Object coordSystemId)
      Fully-initialising value constructor
  • Method Details

    • getGenCoordinates

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public List<jakarta.xml.bind.JAXBElement<? extends CoordinateType>> getGenCoordinates()
      Head element of Generic coordinate substitution group Gets the value of the genCoordinates property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the genCoordinates property.

      For example, to add a new item, do as follows:

       getGenCoordinates().add(newItem);
       

      Objects of the following type(s) are allowed in the list JAXBElement<CoordinateType> JAXBElement<GenVector2CoordinateType> JAXBElement<GenVector3CoordinateType> JAXBElement<ScalarCoordinateType> JAXBElement<StringCoordinateType>

      Returns:
      The value of the genCoordinates property.
    • getCoordSystemId

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Object getCoordSystemId()
      Gets the value of the coordSystemId property.
      Returns:
      possible object is Object
    • setCoordSystemId

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setCoordSystemId(Object value)
      Sets the value of the coordSystemId property.
      Parameters:
      value - allowed object is Object
    • 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 StcBaseType
    • 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 StcBaseType
    • 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 StcBaseType
    • 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 StcBaseType
    • 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 StcBaseType
    • withGenCoordinates

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public CoordsType withGenCoordinates(jakarta.xml.bind.JAXBElement<? extends CoordinateType>... values)
    • withGenCoordinates

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public CoordsType withGenCoordinates(Collection<jakarta.xml.bind.JAXBElement<? extends CoordinateType>> values)
    • withCoordSystemId

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public CoordsType withCoordSystemId(Object value)
    • withId

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

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

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

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

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

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

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