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

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

public class QueryResultType
extends Object

QueryResult contains the results of a specific registry query for a single datasource. If a successful result is a registered dataset, the DataResult element is used. If a successful result is a registered metadataset, the MetadataResult is used. If the query failed, then StatusMessage is included. The timeSeriesMatch attribute is true when the result is an exact match with the key found in the registry - that is, when the registered datasource provides a matching key. It is set to false when the datasource is registered with cube-region constraints, or in any other circumstance when it cannot be established that the sought-for keys have been exactly matched. This is always true when the resulting datasource is the source of a metadata set.

Java class for QueryResultType complex type.

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

 <complexType name="QueryResultType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice>
         <element name="DataResult" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/registry}ResultType"/>
         <element name="MetadataResult" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/registry}ResultType"/>
         <element name="StatusMessage" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/registry}StatusMessageType"/>
       </choice>
       <attribute name="timeSeriesMatch" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  ResultType dataResult
           
protected  ResultType metadataResult
           
protected  StatusMessageType statusMessage
           
protected  boolean timeSeriesMatch
           
 
Constructor Summary
QueryResultType()
           
 
Method Summary
 ResultType getDataResult()
          Gets the value of the dataResult property.
 ResultType getMetadataResult()
          Gets the value of the metadataResult property.
 StatusMessageType getStatusMessage()
          Gets the value of the statusMessage property.
 boolean isTimeSeriesMatch()
          Gets the value of the timeSeriesMatch property.
 void setDataResult(ResultType value)
          Sets the value of the dataResult property.
 void setMetadataResult(ResultType value)
          Sets the value of the metadataResult property.
 void setStatusMessage(StatusMessageType value)
          Sets the value of the statusMessage property.
 void setTimeSeriesMatch(boolean value)
          Sets the value of the timeSeriesMatch property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dataResult

protected ResultType dataResult

metadataResult

protected ResultType metadataResult

statusMessage

protected StatusMessageType statusMessage

timeSeriesMatch

protected boolean timeSeriesMatch
Constructor Detail

QueryResultType

public QueryResultType()
Method Detail

getDataResult

public ResultType getDataResult()
Gets the value of the dataResult property.

Returns:
possible object is ResultType

setDataResult

public void setDataResult(ResultType value)
Sets the value of the dataResult property.

Parameters:
value - allowed object is ResultType

getMetadataResult

public ResultType getMetadataResult()
Gets the value of the metadataResult property.

Returns:
possible object is ResultType

setMetadataResult

public void setMetadataResult(ResultType value)
Sets the value of the metadataResult property.

Parameters:
value - allowed object is ResultType

getStatusMessage

public StatusMessageType getStatusMessage()
Gets the value of the statusMessage property.

Returns:
possible object is StatusMessageType

setStatusMessage

public void setStatusMessage(StatusMessageType value)
Sets the value of the statusMessage property.

Parameters:
value - allowed object is StatusMessageType

isTimeSeriesMatch

public boolean isTimeSeriesMatch()
Gets the value of the timeSeriesMatch property.


setTimeSeriesMatch

public void setTimeSeriesMatch(boolean value)
Sets the value of the timeSeriesMatch property.



Copyright © 2012. All Rights Reserved.