Class Coverage
- All Implemented Interfaces:
org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
Java class for Coverage complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="Coverage">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.ivoa.net/xml/STC/stc-v1.30.xsd}STCResourceProfile" minOccurs="0"/>
<element name="spatial" type="{http://www.ivoa.net/xml/VODataService/v1.1}SpatialCoverage" minOccurs="0"/>
<element name="temporal" type="{http://www.ivoa.net/xml/VODataService/v1.1}FloatInterval" maxOccurs="unbounded" minOccurs="0"/>
<element name="spectral" type="{http://www.ivoa.net/xml/VODataService/v1.1}FloatInterval" maxOccurs="unbounded" minOccurs="0"/>
<element name="footprint" type="{http://www.ivoa.net/xml/VODataService/v1.1}ServiceReference" minOccurs="0"/>
<element name="waveband" type="{http://www.ivoa.net/xml/VODataService/v1.1}Waveband" maxOccurs="unbounded" minOccurs="0"/>
<element name="regionOfRegard" type="{http://www.w3.org/2001/XMLSchema}float" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ServiceReferenceThe ivo-id attribute here refers to the standard in which the footprint is given.protected FloatIn the case of image repositories, it might refer to a typical field-of-view size, or the primary beam size for radio aperture synthesis data.protected SpatialCoverageThe MOC is to be understood in the ICRS reference frame unless a frame attribute is given.For instance, the Johnson V waveband (480 ..protected AstroSTCDescriptionTypeAn STC 1.0 description of the location of the resource's data on the sky, in time, and in frequency space, including resolution.This is written as for VOTable tabledata (i.e., whitespace-separated C-style floating point literals).Observations using non-electromagnetic messengers should not give a waveband in version 1.2 of VODataService. -
Constructor Summary
ConstructorsConstructorDescriptionCoverage()Default no-arg constructorCoverage(AstroSTCDescriptionType stcResourceProfile, SpatialCoverage spatial, List<String> temporals, List<String> spectrals, ServiceReference footprint, List<Waveband> wavebands, Float regionOfRegard) 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 ivo-id attribute here refers to the standard in which the footprint is given.In the case of image repositories, it might refer to a typical field-of-view size, or the primary beam size for radio aperture synthesis data.The MOC is to be understood in the ICRS reference frame unless a frame attribute is given.For instance, the Johnson V waveband (480 ..An STC 1.0 description of the location of the resource's data on the sky, in time, and in frequency space, including resolution.This is written as for VOTable tabledata (i.e., whitespace-separated C-style floating point literals).Observations using non-electromagnetic messengers should not give a waveband in version 1.2 of VODataService.inthashCode()voidvoidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) voidsetFootprint(ServiceReference value) Sets the value of the footprint property.voidsetRegionOfRegard(Float value) Sets the value of the regionOfRegard property.voidsetSpatial(SpatialCoverage value) Sets the value of the spatial property.voidSets the value of the stcResourceProfile property.toString()withFootprint(ServiceReference value) withRegionOfRegard(Float value) withSpatial(SpatialCoverage value) withSpectrals(String... values) withSpectrals(Collection<String> values) withTemporals(String... values) withTemporals(Collection<String> values) withWavebands(Collection<Waveband> values) withWavebands(Waveband... values)
-
Field Details
-
stcResourceProfile
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected AstroSTCDescriptionType stcResourceProfileAn STC 1.0 description of the location of the resource's data on the sky, in time, and in frequency space, including resolution. This is deprecated in favour of the separate spatial, temporal, and spectral elements. -
spatial
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected SpatialCoverage spatialThe MOC is to be understood in the ICRS reference frame unless a frame attribute is given. Resources should give the coverage at least to order 6 (a resolution of about one degree). The order should be chosen so as to keep the resulting MOC smaller than a few dozens of kB. If desired, a more precise MOC can be provided on a dedicated endpoint declared in the footprint element. -
temporals
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected List<String> temporalsThis is written as for VOTable tabledata (i.e., whitespace-separated C-style floating point literals). The limits must be given as MJD. While they are not intended to be precise, they are to be understood in TDB for the solar system barycenter. The total coverage of the resource is the union of all such intervals. -
spectrals
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected List<String> spectralsFor instance, the Johnson V waveband (480 .. 730 nm) would be specified as “2.72e-19 4.14e-19” -
footprint
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected ServiceReference footprintThe ivo-id attribute here refers to the standard in which the footprint is given. The only value defined by VODataService at this point is ivo://ivoa.net/std/moc, which indicates that retrieving the footprint URL will return a MOC (any IVOA-approved serialisation is legal). Note that the ivo-id attribute was intended to have a different function in VODataService 1.1. The current meaning is what implementors actually adopted. -
wavebands
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected List<Waveband> wavebandsObservations using non-electromagnetic messengers should not give a waveband in version 1.2 of VODataService. It is expected that additional terms for these will be provided in a future version. -
regionOfRegard
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected Float regionOfRegardIn the case of image repositories, it might refer to a typical field-of-view size, or the primary beam size for radio aperture synthesis data. In the case of object catalogues RoR should normally be the largest of the typical size of the objects, the astrometric errors in the positions, or the resolution of the data.
-
-
Constructor Details
-
Coverage
public Coverage()Default no-arg constructor -
Coverage
public Coverage(AstroSTCDescriptionType stcResourceProfile, SpatialCoverage spatial, List<String> temporals, List<String> spectrals, ServiceReference footprint, List<Waveband> wavebands, Float regionOfRegard) Fully-initialising value constructor
-
-
Method Details
-
getSTCResourceProfile
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public AstroSTCDescriptionType getSTCResourceProfile()An STC 1.0 description of the location of the resource's data on the sky, in time, and in frequency space, including resolution. This is deprecated in favour of the separate spatial, temporal, and spectral elements.- Returns:
- possible object is
AstroSTCDescriptionType
-
setSTCResourceProfile
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setSTCResourceProfile(AstroSTCDescriptionType value) Sets the value of the stcResourceProfile property.- Parameters:
value- allowed object isAstroSTCDescriptionType- See Also:
-
getSpatial
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public SpatialCoverage getSpatial()The MOC is to be understood in the ICRS reference frame unless a frame attribute is given. Resources should give the coverage at least to order 6 (a resolution of about one degree). The order should be chosen so as to keep the resulting MOC smaller than a few dozens of kB. If desired, a more precise MOC can be provided on a dedicated endpoint declared in the footprint element.- Returns:
- possible object is
SpatialCoverage
-
setSpatial
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setSpatial(SpatialCoverage value) Sets the value of the spatial property.- Parameters:
value- allowed object isSpatialCoverage- See Also:
-
getTemporals
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public List<String> getTemporals()This is written as for VOTable tabledata (i.e., whitespace-separated C-style floating point literals). The limits must be given as MJD. While they are not intended to be precise, they are to be understood in TDB for the solar system barycenter. The total coverage of the resource is the union of all such intervals. Gets the value of the temporals 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 temporals property.For example, to add a new item, do as follows:
getTemporals().add(newItem);
Objects of the following type(s) are allowed in the list
String- Returns:
- The value of the temporals property.
-
getSpectrals
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public List<String> getSpectrals()For instance, the Johnson V waveband (480 .. 730 nm) would be specified as “2.72e-19 4.14e-19” Gets the value of the spectrals 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 spectrals property.For example, to add a new item, do as follows:
getSpectrals().add(newItem);
Objects of the following type(s) are allowed in the list
String- Returns:
- The value of the spectrals property.
-
getFootprint
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public ServiceReference getFootprint()The ivo-id attribute here refers to the standard in which the footprint is given. The only value defined by VODataService at this point is ivo://ivoa.net/std/moc, which indicates that retrieving the footprint URL will return a MOC (any IVOA-approved serialisation is legal). Note that the ivo-id attribute was intended to have a different function in VODataService 1.1. The current meaning is what implementors actually adopted.- Returns:
- possible object is
ServiceReference
-
setFootprint
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setFootprint(ServiceReference value) Sets the value of the footprint property.- Parameters:
value- allowed object isServiceReference- See Also:
-
getWavebands
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public List<Waveband> getWavebands()Observations using non-electromagnetic messengers should not give a waveband in version 1.2 of VODataService. It is expected that additional terms for these will be provided in a future version. Gets the value of the wavebands 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 wavebands property.For example, to add a new item, do as follows:
getWavebands().add(newItem);
Objects of the following type(s) are allowed in the list
Waveband- Returns:
- The value of the wavebands property.
-
getRegionOfRegard
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Float getRegionOfRegard()In the case of image repositories, it might refer to a typical field-of-view size, or the primary beam size for radio aperture synthesis data. In the case of object catalogues RoR should normally be the largest of the typical size of the objects, the astrometric errors in the positions, or the resolution of the data.- Returns:
- possible object is
Float
-
setRegionOfRegard
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setRegionOfRegard(Float value) Sets the value of the regionOfRegard property.- Parameters:
value- allowed object isFloat- 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) -
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() -
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() -
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
-
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
-
withSTCResourceProfile
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Coverage withSTCResourceProfile(AstroSTCDescriptionType value) -
withSpatial
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Coverage withSpatial(SpatialCoverage value) -
withTemporals
-
withTemporals
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Coverage withTemporals(Collection<String> values) -
withSpectrals
-
withSpectrals
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Coverage withSpectrals(Collection<String> values) -
withFootprint
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Coverage withFootprint(ServiceReference value) -
withWavebands
-
withWavebands
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Coverage withWavebands(Collection<Waveband> values) -
withRegionOfRegard
-
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
-
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
-
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
-