net.ivoa.xml.voresource.v1
Class Organisation

java.lang.Object
  extended by net.ivoa.xml.voresource.v1.Resource
      extended by net.ivoa.xml.voresource.v1.Organisation

public class Organisation
extends Resource

The main purpose of an organisation as a registered resource is to serve as a publisher of other resources.

Java class for Organisation complex type.

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

 <complexType name="Organisation">
   <complexContent>
     <extension base="{http://www.ivoa.net/xml/VOResource/v1.0}Resource">
       <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"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<ResourceName> facility
           
protected  java.util.List<ResourceName> instrument
           
 
Fields inherited from class net.ivoa.xml.voresource.v1.Resource
content, created, curation, identifier, shortName, status, title, updated, validationLevel
 
Constructor Summary
Organisation()
           
 
Method Summary
 java.util.List<ResourceName> getFacility()
          Gets the value of the facility property.
 java.util.List<ResourceName> getInstrument()
          Gets the value of the instrument 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

facility

protected java.util.List<ResourceName> facility

instrument

protected java.util.List<ResourceName> instrument
Constructor Detail

Organisation

public Organisation()
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



Copyright © 2011 VAMDC. All Rights Reserved.