|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sdmx.resources.sdmxml.schemas.v2_0.registry.QueryResultType
public class QueryResultType
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 |
|---|
protected ResultType dataResult
protected ResultType metadataResult
protected StatusMessageType statusMessage
protected boolean timeSeriesMatch
| Constructor Detail |
|---|
public QueryResultType()
| Method Detail |
|---|
public ResultType getDataResult()
ResultTypepublic void setDataResult(ResultType value)
value - allowed object is
ResultTypepublic ResultType getMetadataResult()
ResultTypepublic void setMetadataResult(ResultType value)
value - allowed object is
ResultTypepublic StatusMessageType getStatusMessage()
StatusMessageTypepublic void setStatusMessage(StatusMessageType value)
value - allowed object is
StatusMessageTypepublic boolean isTimeSeriesMatch()
public void setTimeSeriesMatch(boolean value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||