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 Summary
FieldsModifier and TypeFieldDescriptionprotected Objectprotected List<jakarta.xml.bind.JAXBElement<? extends CoordinateType>>Head element of Generic coordinate substitution group -
Constructor Summary
Constructors -
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 coordSystemId property.List<jakarta.xml.bind.JAXBElement<? extends CoordinateType>>Head element of Generic coordinate substitution group Gets the value of the genCoordinates 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) voidsetCoordSystemId(Object value) Sets the value of the coordSystemId property.toString()withCoordSystemId(Object value) withGenCoordinates(jakarta.xml.bind.JAXBElement<? extends CoordinateType>... values) withGenCoordinates(Collection<jakarta.xml.bind.JAXBElement<? extends CoordinateType>> values) withIDREFType(String value) withIDType(String value) Methods 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
-
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>> genCoordinatesHead 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
setmethod 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 isObject
-
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 classStcBaseType
-
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 classStcBaseType
-
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 classStcBaseType
-
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 classStcBaseType
-
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 classStcBaseType
-
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:
withIdin classStcBaseType
-
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:
withIdrefin classStcBaseType
-
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:
withUcdin classStcBaseType
-
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:
withTypein classStcBaseType
-
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:
withHrefin classStcBaseType
-
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:
withIDTypein classStcBaseType
-
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:
withIDREFTypein classStcBaseType
-
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 classStcBaseType
-
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 classStcBaseType
-
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
-