Class DataResource
- All Implemented Interfaces:
org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
- Direct Known Subclasses:
CatalogResource,DataService
Java class for DataResource complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="DataResource">
<complexContent>
<extension base="{http://www.ivoa.net/xml/VOResource/v1.0}Service">
<sequence>
<element name="facility" type="{http://www.ivoa.net/xml/VOResource/v1.0}ResourceName" maxOccurs="unbounded" minOccurs="0"/>
<element name="instrument" type="{http://www.ivoa.net/xml/VOResource/v1.0}ResourceName" maxOccurs="unbounded" minOccurs="0"/>
<element name="coverage" type="{http://www.ivoa.net/xml/VODataService/v1.1}Coverage" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CoverageExtent of the content of the resource over space, time, and frequency.protected List<ResourceName>The observatory or facility used to collect the data contained or managed by this resource.protected List<ResourceName>The instrument used to collect the data contain or managed by a resource.Fields inherited from class org.javastro.ivoa.entities.resource.Service
capabilities, rightsFields inherited from class org.javastro.ivoa.entities.resource.Resource
altIdentifiers, content, created, curation, identifier, shortName, status, title, updated, validationLevels, version -
Constructor Summary
ConstructorsConstructorDescriptionDefault no-arg constructorDataResource(List<Validation> validationLevels, String title, String shortName, String identifier, List<String> altIdentifiers, Curation curation, Content content, LocalDateTime created, LocalDateTime updated, String status, String version, List<Rights> rights, List<Capability> capabilities, List<ResourceName> facilities, List<ResourceName> instruments, Coverage coverage) 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) booleanExtent of the content of the resource over space, time, and frequency.The observatory or facility used to collect the data contained or managed by this resource.The instrument used to collect the data contain or managed by a resource.inthashCode()voidvoidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) voidsetCoverage(Coverage value) Sets the value of the coverage property.toString()withAltIdentifiers(String... values) withAltIdentifiers(Collection<String> values) withCapabilities(Collection<Capability> values) withCapabilities(Capability... values) withContent(Content value) withCoverage(Coverage value) withCreated(LocalDateTime value) withCuration(Curation value) withFacilities(Collection<ResourceName> values) withFacilities(ResourceName... values) withIdentifier(String value) withInstruments(Collection<ResourceName> values) withInstruments(ResourceName... values) withRights(Collection<Rights> values) withRights(Rights... values) withShortName(String value) withStatus(String value) withUpdated(LocalDateTime value) withValidationLevels(Collection<Validation> values) withValidationLevels(Validation... values) withVersion(String value) Methods inherited from class org.javastro.ivoa.entities.resource.Service
getCapabilities, getRightsMethods inherited from class org.javastro.ivoa.entities.resource.Resource
getAltIdentifiers, getContent, getCreated, getCuration, getIdentifier, getShortName, getStatus, getTitle, getUpdated, getValidationLevels, getVersion, setContent, setCreated, setCuration, setIdentifier, setShortName, setStatus, setTitle, setUpdated, setVersion
-
Field Details
-
facilities
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected List<ResourceName> facilitiesThe observatory or facility used to collect the data contained or managed by this resource. -
instruments
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected List<ResourceName> instrumentsThe instrument used to collect the data contain or managed by a resource. -
coverage
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected Coverage coverageExtent of the content of the resource over space, time, and frequency.
-
-
Constructor Details
-
DataResource
public DataResource()Default no-arg constructor -
DataResource
public DataResource(List<Validation> validationLevels, String title, String shortName, String identifier, List<String> altIdentifiers, Curation curation, Content content, LocalDateTime created, LocalDateTime updated, String status, String version, List<Rights> rights, List<Capability> capabilities, List<ResourceName> facilities, List<ResourceName> instruments, Coverage coverage) Fully-initialising value constructor
-
-
Method Details
-
getFacilities
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public List<ResourceName> getFacilities()The observatory or facility used to collect the data contained or managed by this resource. Gets the value of the facilities 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 facilities property.For example, to add a new item, do as follows:
getFacilities().add(newItem);
Objects of the following type(s) are allowed in the list
ResourceName- Returns:
- The value of the facilities property.
-
getInstruments
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public List<ResourceName> getInstruments()The instrument used to collect the data contain or managed by a resource. Gets the value of the instruments 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 instruments property.For example, to add a new item, do as follows:
getInstruments().add(newItem);
Objects of the following type(s) are allowed in the list
ResourceName- Returns:
- The value of the instruments property.
-
getCoverage
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Coverage getCoverage()Extent of the content of the resource over space, time, and frequency.- Returns:
- possible object is
Coverage
-
setCoverage
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setCoverage(Coverage value) Sets the value of the coverage property.- Parameters:
value- allowed object isCoverage- 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) -
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 classService
-
withFacilities
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataResource withFacilities(ResourceName... values) -
withFacilities
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataResource withFacilities(Collection<ResourceName> values) -
withInstruments
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataResource withInstruments(ResourceName... values) -
withInstruments
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataResource withInstruments(Collection<ResourceName> values) -
withCoverage
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataResource withCoverage(Coverage value) -
withRights
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataResource withRights(Rights... values) - Overrides:
withRightsin classService
-
withRights
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataResource withRights(Collection<Rights> values) - Overrides:
withRightsin classService
-
withCapabilities
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataResource withCapabilities(Capability... values) - Overrides:
withCapabilitiesin classService
-
withCapabilities
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataResource withCapabilities(Collection<Capability> values) - Overrides:
withCapabilitiesin classService
-
withValidationLevels
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataResource withValidationLevels(Validation... values) - Overrides:
withValidationLevelsin classService
-
withValidationLevels
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataResource withValidationLevels(Collection<Validation> values) - Overrides:
withValidationLevelsin classService
-
withTitle
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataResource withTitle(String value) -
withShortName
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataResource withShortName(String value) - Overrides:
withShortNamein classService
-
withIdentifier
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataResource withIdentifier(String value) - Overrides:
withIdentifierin classService
-
withAltIdentifiers
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataResource withAltIdentifiers(String... values) - Overrides:
withAltIdentifiersin classService
-
withAltIdentifiers
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataResource withAltIdentifiers(Collection<String> values) - Overrides:
withAltIdentifiersin classService
-
withCuration
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataResource withCuration(Curation value) - Overrides:
withCurationin classService
-
withContent
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataResource withContent(Content value) - Overrides:
withContentin classService
-
withCreated
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataResource withCreated(LocalDateTime value) - Overrides:
withCreatedin classService
-
withUpdated
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataResource withUpdated(LocalDateTime value) - Overrides:
withUpdatedin classService
-
withStatus
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataResource withStatus(String value) - Overrides:
withStatusin classService
-
withVersion
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataResource withVersion(String value) - Overrides:
withVersionin classService
-
mergeFrom
-
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- Overrides:
createNewInstancein classService
-