|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ivoa.xml.voresource.v1.Resource net.ivoa.xml.voresource.v1.Service
public class Service
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 |
---|
protected java.util.List<Rights> rights
protected java.util.List<Capability> capability
Constructor Detail |
---|
public Service()
Method Detail |
---|
public java.util.List<Rights> getRights()
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
public java.util.List<Capability> getCapability()
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |