org.spase.parser121
Class Spase

java.lang.Object
  extended by org.spase.parser121.Spase

public class Spase
extends java.lang.Object

Space Physics Archive Search and Extract (SPASE). The outermost container or envelope for SPASE metadata. This indicates the start of the SPASE metadata.

Java class for Spase complex type.

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

 <complexType name="Spase">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.spase-group.org/data/schema}Version"/>
         <element ref="{http://www.spase-group.org/data/schema}ResourceEntity" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="lang" type="{http://www.w3.org/2001/XMLSchema}string" default="en" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String lang
           
protected  java.util.List<javax.xml.bind.JAXBElement<?>> resourceEntity
           
protected  java.lang.String version
           
 
Constructor Summary
Spase()
           
 
Method Summary
 java.lang.String getLang()
          Gets the value of the lang property.
 java.util.List<javax.xml.bind.JAXBElement<?>> getResourceEntity()
          Gets the value of the resourceEntity property.
 java.lang.String getVersion()
          Gets the value of the version property.
 void setLang(java.lang.String value)
          Sets the value of the lang property.
 void setVersion(java.lang.String value)
          Sets the value of the version property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

version

protected java.lang.String version

resourceEntity

protected java.util.List<javax.xml.bind.JAXBElement<?>> resourceEntity

lang

protected java.lang.String lang
Constructor Detail

Spase

public Spase()
Method Detail

getVersion

public java.lang.String getVersion()
Gets the value of the version property.

Returns:
possible object is String

setVersion

public void setVersion(java.lang.String value)
Sets the value of the version property.

Parameters:
value - allowed object is String

getResourceEntity

public java.util.List<javax.xml.bind.JAXBElement<?>> getResourceEntity()
Gets the value of the resourceEntity 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 resourceEntity property.

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

    getResourceEntity().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<Observatory> JAXBElement<Granule> JAXBElement<NumericalData> JAXBElement<Repository> JAXBElement<Service> JAXBElement<Person> JAXBElement<DisplayData> JAXBElement<Registry> JAXBElement<Extension> JAXBElement<Catalog> JAXBElement<Instrument> JAXBElement<Object>


getLang

public java.lang.String getLang()
Gets the value of the lang property.

Returns:
possible object is String

setLang

public void setLang(java.lang.String value)
Sets the value of the lang property.

Parameters:
value - allowed object is String