public class DataRetrievalRequest extends HashMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier and Type | Field and Description |
---|---|
static String |
DIALET
Key used to define Dialect of data to be retrieved.
|
static String |
IDENTIFIER
Key used to defined Identify of data to be retrieved.
|
static String |
OUTPUT_FORM
Key used to define the output format of retrieved data to be returned.
|
Constructor and Description |
---|
DataRetrievalRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getDialect()
Returns the Dialect value specified in the request.
|
String |
getIdentifier()
Returns the Identifier value specified in the request.
|
OutputForm |
getOutputForm()
Returns the output format specified in the request.
|
void |
putDialect(String dialect)
Allow to set the dialect of data to retrieve
|
void |
putIdentifier(String identifier)
Allow to set the identifier of data to retrieve
|
void |
putOutputForm(OutputForm form)
Allow to set the output format of the data retrieved.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
public static final String DIALET
public static final String IDENTIFIER
public static final String OUTPUT_FORM
public String getDialect() throws DataRetrievalException
DataRetrievalException
public String getIdentifier()
public OutputForm getOutputForm()
public void putDialect(String dialect) throws DataRetrievalException
dialect
- - Valid dialect value supported by the Data Locator.DataRetrievalException
public void putIdentifier(String identifier)
identifier
- - identifier valueDataRetrievalException
public void putOutputForm(OutputForm form)
form
- - Valid output format types supported by the Data Locator.DataRetrievalException
Copyright © 2004–2016 The Apache Software Foundation. All rights reserved.