org.sdmx.resources.sdmxml.schemas.v2_0.registry
Class DatasourceType

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_0.registry.DatasourceType

public class DatasourceType
extends Object

Datasource specifies the properties of a data or metadata source. A SimpleDatasource requires only the URL of the data. A QueryableDatasource must be able to accept an SDMX-ML Query Message, and respond appropriately. Either or both may 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">
       <sequence>
         <element name="SimpleDatasource" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
         <element name="QueryableDatasource" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/registry}QueryableDatasourceType" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  QueryableDatasourceType queryableDatasource
           
protected  String simpleDatasource
           
 
Constructor Summary
DatasourceType()
           
 
Method Summary
 QueryableDatasourceType getQueryableDatasource()
          Gets the value of the queryableDatasource property.
 String getSimpleDatasource()
          Gets the value of the simpleDatasource property.
 void setQueryableDatasource(QueryableDatasourceType value)
          Sets the value of the queryableDatasource property.
 void setSimpleDatasource(String value)
          Sets the value of the simpleDatasource property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

simpleDatasource

protected String simpleDatasource

queryableDatasource

protected QueryableDatasourceType queryableDatasource
Constructor Detail

DatasourceType

public DatasourceType()
Method Detail

getSimpleDatasource

public String getSimpleDatasource()
Gets the value of the simpleDatasource property.

Returns:
possible object is String

setSimpleDatasource

public void setSimpleDatasource(String value)
Sets the value of the simpleDatasource property.

Parameters:
value - allowed object is String

getQueryableDatasource

public QueryableDatasourceType getQueryableDatasource()
Gets the value of the queryableDatasource property.

Returns:
possible object is QueryableDatasourceType

setQueryableDatasource

public void setQueryableDatasource(QueryableDatasourceType value)
Sets the value of the queryableDatasource property.

Parameters:
value - allowed object is QueryableDatasourceType


Copyright © 2012. All Rights Reserved.