org.sdmx.resources.sdmxml.schemas.v2_1.query
Class DataReturnDetailsType

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_1.query.ReturnDetailsBaseType
      extended by org.sdmx.resources.sdmxml.schemas.v2_1.query.DataReturnDetailsBaseType
          extended by org.sdmx.resources.sdmxml.schemas.v2_1.query.DataReturnDetailsType
Direct Known Subclasses:
GenericDataReturnDetailsType, TimeSeriesDataReturnDetailsType

public class DataReturnDetailsType
extends DataReturnDetailsBaseType

DataReturnDetailsType specifies the specifics of the how data should be returned, including how it should be structured and how many and what type (e.g. active or deleted) observations should be returned.

Java class for DataReturnDetailsType complex type.

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

 <complexType name="DataReturnDetailsType">
   <complexContent>
     <extension base="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/query}DataReturnDetailsBaseType">
       <sequence>
         <element name="FirstNObservations" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <element name="LastNObservations" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <element name="Structure" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}DataStructureRequestType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="observationAction" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/query}ObservationActionCodeType" default="Active" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  Integer firstNObservations
           
protected  Integer lastNObservations
           
protected  ObservationActionCodeType observationAction
           
protected  List<DataStructureRequestType> structure
           
 
Fields inherited from class org.sdmx.resources.sdmxml.schemas.v2_1.query.ReturnDetailsBaseType
defaultLimit, detail
 
Constructor Summary
DataReturnDetailsType()
           
 
Method Summary
 Integer getFirstNObservations()
          Gets the value of the firstNObservations property.
 Integer getLastNObservations()
          Gets the value of the lastNObservations property.
 ObservationActionCodeType getObservationAction()
          Gets the value of the observationAction property.
 List<DataStructureRequestType> getStructure()
          Gets the value of the structure property.
 void setFirstNObservations(Integer value)
          Sets the value of the firstNObservations property.
 void setLastNObservations(Integer value)
          Sets the value of the lastNObservations property.
 void setObservationAction(ObservationActionCodeType value)
          Sets the value of the observationAction property.
 
Methods inherited from class org.sdmx.resources.sdmxml.schemas.v2_1.query.ReturnDetailsBaseType
getDefaultLimit, getDetail, setDefaultLimit, setDetail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

firstNObservations

protected Integer firstNObservations

lastNObservations

protected Integer lastNObservations

structure

protected List<DataStructureRequestType> structure

observationAction

protected ObservationActionCodeType observationAction
Constructor Detail

DataReturnDetailsType

public DataReturnDetailsType()
Method Detail

getFirstNObservations

public Integer getFirstNObservations()
Gets the value of the firstNObservations property.

Returns:
possible object is Integer

setFirstNObservations

public void setFirstNObservations(Integer value)
Sets the value of the firstNObservations property.

Parameters:
value - allowed object is Integer

getLastNObservations

public Integer getLastNObservations()
Gets the value of the lastNObservations property.

Returns:
possible object is Integer

setLastNObservations

public void setLastNObservations(Integer value)
Sets the value of the lastNObservations property.

Parameters:
value - allowed object is Integer

getStructure

public List<DataStructureRequestType> getStructure()
Gets the value of the structure 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 structure property.

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

    getStructure().add(newItem);
 

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


getObservationAction

public ObservationActionCodeType getObservationAction()
Gets the value of the observationAction property.

Returns:
possible object is ObservationActionCodeType

setObservationAction

public void setObservationAction(ObservationActionCodeType value)
Sets the value of the observationAction property.

Parameters:
value - allowed object is ObservationActionCodeType


Copyright © 2012. All Rights Reserved.