org.sdmx.resources.sdmxml.schemas.v2_1.registry
Class DataSourceType

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_1.registry.DataSourceType

public class DataSourceType
extends Object

DataSourceType specifies the properties of a data or metadata source. Either a simple data source, a queryable data source, or both must be specified.

Java class for DataSourceType complex type.

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

 <complexType name="DataSourceType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice maxOccurs="2">
         <element name="SimpleDataSource" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
         <element name="QueryableDataSource" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}QueryableDataSourceType"/>
       </choice>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Object> simpleDataSourceOrQueryableDataSource
           
 
Constructor Summary
DataSourceType()
           
 
Method Summary
 List<Object> getSimpleDataSourceOrQueryableDataSource()
          Gets the value of the simpleDataSourceOrQueryableDataSource property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

simpleDataSourceOrQueryableDataSource

protected List<Object> simpleDataSourceOrQueryableDataSource
Constructor Detail

DataSourceType

public DataSourceType()
Method Detail

getSimpleDataSourceOrQueryableDataSource

public List<Object> getSimpleDataSourceOrQueryableDataSource()
Gets the value of the simpleDataSourceOrQueryableDataSource 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 simpleDataSourceOrQueryableDataSource property.

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

    getSimpleDataSourceOrQueryableDataSource().add(newItem);
 

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



Copyright © 2012. All Rights Reserved.