All Implemented Interfaces:
org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
Direct Known Subclasses:
CatalogResource, DataService

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public class DataResource extends Service implements org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
This resource type should only be used if the resource has no common underlying tabular schema (e.g., an inhomogeneous archive). Use CatalogResource otherwise.

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 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> facilities
      The 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> instruments
      The 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 coverage
      Extent of the content of the resource over space, time, and frequency.
  • Constructor Details

  • 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 set method 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 set method 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 is Coverage
      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)
      Overrides:
      equals in class Service
    • 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 Service
    • 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 Service
    • 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 Service
    • 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 Service
    • 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:
      withRights in class Service
    • 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:
      withRights in class Service
    • 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:
      withCapabilities in class Service
    • 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:
      withCapabilities in class Service
    • 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:
      withValidationLevels in class Service
    • 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:
      withValidationLevels in class Service
    • 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)
      Overrides:
      withTitle in class Service
    • 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:
      withShortName in class Service
    • 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:
      withIdentifier in class Service
    • 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:
      withAltIdentifiers in class Service
    • 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:
      withAltIdentifiers in class Service
    • 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:
      withCuration in class Service
    • 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:
      withContent in class Service
    • 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:
      withCreated in class Service
    • 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:
      withUpdated in class Service
    • 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:
      withStatus in class Service
    • 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:
      withVersion in class Service
    • 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 Service
    • 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 Service
    • 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
      Overrides:
      createNewInstance in class Service