net.ivoa.xml.voresource.v1
Class Service

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

public class Service
extends Resource

a resource that can be invoked by a client to perform some action on its behalf.

Java class for Service complex type.

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

 <complexType name="Service">
   <complexContent>
     <extension base="{http://www.ivoa.net/xml/VOResource/v1.0}Resource">
       <sequence>
         <element name="rights" type="{http://www.ivoa.net/xml/VOResource/v1.0}Rights" maxOccurs="unbounded" minOccurs="0"/>
         <element name="capability" type="{http://www.ivoa.net/xml/VOResource/v1.0}Capability" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<Capability> capability
           
protected  java.util.List<Rights> rights
           
 
Fields inherited from class net.ivoa.xml.voresource.v1.Resource
content, created, curation, identifier, shortName, status, title, updated, validationLevel
 
Constructor Summary
Service()
           
 
Method Summary
 java.util.List<Capability> getCapability()
          Gets the value of the capability property.
 java.util.List<Rights> getRights()
          Gets the value of the rights property.
 
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

rights

protected java.util.List<Rights> rights

capability

protected java.util.List<Capability> capability
Constructor Detail

Service

public Service()
Method Detail

getRights

public java.util.List<Rights> getRights()
Gets the value of the rights 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 rights property.

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

    getRights().add(newItem);
 

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


getCapability

public java.util.List<Capability> getCapability()
Gets the value of the capability 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 capability property.

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

    getCapability().add(newItem);
 

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



Copyright © 2011 VAMDC. All Rights Reserved.