Managing a Resolution Request
To enable the application to submit a resolution request and obtain the associated values:
- Construct a NicKey object to enable the application to
pass the data key to the NIC proxy:
- stringKey—Data key for which you want to find corresponding values.
For the syntax of allowed data types, see Overview of the NIC Resolution Process.
- If the resolution process specifies constraints that you
wish to provide in the resolution request, add them to the NicKey
object:
- constName—Name of the constraint.
For the allowed data types and their syntax, see Overview of the NIC Resolution Process.
- constValue—Specific value of the constraint.
For the allowed syntax for the data types, see Overview of the NIC Resolution Process.
- Call a method that starts the resolution process.
For example, you can call a method specified in the NIC interface:
Alternatively, if the expected data value is an SAE reference, you can call the following method:
- Call the getValue method to access the string representation
of the data value obtained by the NIC proxy.
Alternatively, if the expected data value is an SAE reference:
- (Optional) Call a method to get intermediate values obtained
during a resolution.
- Call the getIntermediateValue method if the application
expects only one value. This method takes the name of a data type
and returns as a string the first value it finds.
For information about data types, see Overview of the NIC Resolution Process.
- Call the getIntermediateValues or getAllIntermediateValues
method if the application expects multiple values. These methods take
the name of a data type and return values as follows:
- The getIntermediateValues method returns a list of values as a string array.
- For information about data types, see Overview of the NIC Resolution Process
- Call the getIntermediateValue method if the application
expects only one value. This method takes the name of a data type
and returns as a string the first value it finds.
