Class STCRegionList
- All Implemented Interfaces:
org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
Java class for STCRegionList complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="STCRegionList">
<complexContent>
<extension base="{http://www.ivoa.net/xml/STC/stc-v1.30.xsd}stcMetadataType">
<sequence>
<element ref="{http://www.ivoa.net/xml/STC/stc-v1.30.xsd}AstroCoordSystem"/>
<element ref="{http://www.ivoa.net/xml/STC/stc-v1.30.xsd}Region" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AstroCoordSystemTypeThe coordinate system definition: spatial coordinate frame and reference position; time frame and reference position; the coordinate flavor; the spectral fromae and redshift/Doppler frame; and the planetary ephemeris; an ID is required, since this is how coordinate elements are associated with their coordinate systemsprotected List<jakarta.xml.bind.JAXBElement<? extends RegionType>>Head element of the Region substitution group; a Region is a Shape or the result of a Region Operation on one or more Regions -
Constructor Summary
ConstructorsConstructorDescriptionDefault no-arg constructorSTCRegionList(String id, Object idref, String ucd, String type, String href, String idType, String idrefType, AstroCoordSystemType astroCoordSystem, List<jakarta.xml.bind.JAXBElement<? extends RegionType>> regions) 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 coordinate system definition: spatial coordinate frame and reference position; time frame and reference position; the coordinate flavor; the spectral fromae and redshift/Doppler frame; and the planetary ephemeris; an ID is required, since this is how coordinate elements are associated with their coordinate systemsList<jakarta.xml.bind.JAXBElement<? extends RegionType>>Head element of the Region substitution group; a Region is a Shape or the result of a Region Operation on one or more Regions Gets the value of the regions 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) voidSets the value of the astroCoordSystem property.toString()withIDREFType(String value) withIDType(String value) withRegions(jakarta.xml.bind.JAXBElement<? extends RegionType>... values) withRegions(Collection<jakarta.xml.bind.JAXBElement<? extends RegionType>> values) 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
-
astroCoordSystem
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected AstroCoordSystemType astroCoordSystemThe coordinate system definition: spatial coordinate frame and reference position; time frame and reference position; the coordinate flavor; the spectral fromae and redshift/Doppler frame; and the planetary ephemeris; an ID is required, since this is how coordinate elements are associated with their coordinate systems -
regions
@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 RegionType>> regionsHead element of the Region substitution group; a Region is a Shape or the result of a Region Operation on one or more Regions
-
-
Constructor Details
-
STCRegionList
public STCRegionList()Default no-arg constructor -
STCRegionList
public STCRegionList(String id, Object idref, String ucd, String type, String href, String idType, String idrefType, AstroCoordSystemType astroCoordSystem, List<jakarta.xml.bind.JAXBElement<? extends RegionType>> regions) Fully-initialising value constructor
-
-
Method Details
-
getAstroCoordSystem
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public AstroCoordSystemType getAstroCoordSystem()The coordinate system definition: spatial coordinate frame and reference position; time frame and reference position; the coordinate flavor; the spectral fromae and redshift/Doppler frame; and the planetary ephemeris; an ID is required, since this is how coordinate elements are associated with their coordinate systems- Returns:
- possible object is
AstroCoordSystemType
-
setAstroCoordSystem
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setAstroCoordSystem(AstroCoordSystemType value) Sets the value of the astroCoordSystem property.- Parameters:
value- allowed object isAstroCoordSystemType- See Also:
-
getRegions
@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 RegionType>> getRegions()Head element of the Region substitution group; a Region is a Shape or the result of a Region Operation on one or more Regions Gets the value of the regions 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 regions property.For example, to add a new item, do as follows:
getRegions().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement<AllSkyType>JAXBElement<BoxType>JAXBElement<CircleType>JAXBElement<ConvexHullType>JAXBElement<ConvexType>JAXBElement<DiffType>JAXBElement<EllipseType>JAXBElement<IntersectionType>JAXBElement<NegationType>JAXBElement<PolygonType>JAXBElement<RegionType>JAXBElement<SectorType>JAXBElement<SkyIndexType>JAXBElement<UnionType>- Returns:
- The value of the regions property.
-
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 classStcMetadataType
-
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 classStcMetadataType
-
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 classStcMetadataType
-
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 classStcMetadataType
-
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 classStcMetadataType
-
withAstroCoordSystem
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public STCRegionList withAstroCoordSystem(AstroCoordSystemType value) -
withRegions
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public STCRegionList withRegions(jakarta.xml.bind.JAXBElement<? extends RegionType>... values) -
withRegions
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public STCRegionList withRegions(Collection<jakarta.xml.bind.JAXBElement<? extends RegionType>> values) -
withId
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public STCRegionList withId(String value) - Overrides:
withIdin classStcMetadataType
-
withIdref
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public STCRegionList withIdref(Object value) - Overrides:
withIdrefin classStcMetadataType
-
withUcd
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public STCRegionList withUcd(String value) - Overrides:
withUcdin classStcMetadataType
-
withType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public STCRegionList withType(String value) - Overrides:
withTypein classStcMetadataType
-
withHref
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public STCRegionList withHref(String value) - Overrides:
withHrefin classStcMetadataType
-
withIDType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public STCRegionList withIDType(String value) - Overrides:
withIDTypein classStcMetadataType
-
withIDREFType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public STCRegionList withIDREFType(String value) - Overrides:
withIDREFTypein classStcMetadataType
-
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 classStcMetadataType
-
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 classStcMetadataType
-
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 classStcMetadataType
-