Package com.avoka.tm.query
Class RefDataQuery
java.lang.Object
com.avoka.tm.query.RefDataQuery
Provides a Reference Data Query class.
Examples
Query Example
This Groovy example shows how to get the value of a reference data set.
 import com.avoka.tm.svc.RefDataQuery
 String value = new RefDataQuery()
     .setName("Addresses")
     .setLocale("en_US")
     .getValue() - Since:
- 17.10.0
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetValue()Return the value for the reference data set if found, or null otherwise.setClientCode(String clientCode) Set the reference data set organization client code.Set the locale of the reference data set.Set the name of the reference data set.
- 
Constructor Details- 
RefDataQuery
 
- 
- 
Method Details- 
setClientCodeSet the reference data set organization client code. Generally this is not required as the service executes in a client organization security context.- Parameters:
- clientCode- reference data organization client code
- Returns:
- the query object
 
- 
setNameSet the name of the reference data set.- Parameters:
- name- the name of the reference data
- Returns:
- the query object
 
- 
setLocaleSet the locale of the reference data set.- Parameters:
- locale- the locale of the reference data
- Returns:
- the query object
 
- 
getValueReturn the value for the reference data set if found, or null otherwise.- Returns:
- the value for the reference data set if found, or null otherwise
 
 
-