net.ivoa.xml.vodataservice.v1
Class DataService

java.lang.Object
  extended by net.ivoa.xml.voresource.v1.Resource
      extended by net.ivoa.xml.voresource.v1.Service
          extended by net.ivoa.xml.vodataservice.v1.DataService
Direct Known Subclasses:
CatalogService

public class DataService
extends Service

A service for accessing astronomical data

Java class for DataService complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="DataService">
   <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.0}Coverage" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  Coverage coverage
           
protected  java.util.List<ResourceName> facility
           
protected  java.util.List<ResourceName> instrument
           
 
Fields inherited from class net.ivoa.xml.voresource.v1.Service
capability, rights
 
Fields inherited from class net.ivoa.xml.voresource.v1.Resource
content, created, curation, identifier, shortName, status, title, updated, validationLevel
 
Constructor Summary
DataService()
           
 
Method Summary
 Coverage getCoverage()
          Gets the value of the coverage property.
 java.util.List<ResourceName> getFacility()
          Gets the value of the facility property.
 java.util.List<ResourceName> getInstrument()
          Gets the value of the instrument property.
 void setCoverage(Coverage value)
          Sets the value of the coverage property.
 
Methods inherited from class net.ivoa.xml.voresource.v1.Service
getCapability, getRights
 
Methods inherited from class net.ivoa.xml.voresource.v1.Resource
getContent, getCreated, getCuration, getIdentifier, getShortName, getStatus, getTitle, getUpdated, getValidationLevel, setContent, setCreated, setCuration, setIdentifier, setShortName, setStatus, setTitle, setUpdated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

facility

protected java.util.List<ResourceName> facility

instrument

protected java.util.List<ResourceName> instrument

coverage

protected Coverage coverage
Constructor Detail

DataService

public DataService()
Method Detail

getFacility

public java.util.List<ResourceName> getFacility()
Gets the value of the facility 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 facility property.

For example, to add a new item, do as follows:

    getFacility().add(newItem);
 

Objects of the following type(s) are allowed in the list ResourceName


getInstrument

public java.util.List<ResourceName> getInstrument()
Gets the value of the instrument 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 instrument property.

For example, to add a new item, do as follows:

    getInstrument().add(newItem);
 

Objects of the following type(s) are allowed in the list ResourceName


getCoverage

public Coverage getCoverage()
Gets the value of the coverage property.

Returns:
possible object is Coverage

setCoverage

public void setCoverage(Coverage value)
Sets the value of the coverage property.

Parameters:
value - allowed object is Coverage


Copyright © 2011 VAMDC. All Rights Reserved.