To enable the application to submit a resolution request and obtain the associated values:
- NicKey nicKey = new NicKey(stringKey);
For the syntax of allowed data types, see Overview of the NIC Resolution Process.
- NicKey.addConstraint(constName, constValue);
For the allowed data types and their syntax, see Overview of the NIC Resolution Process.
For the allowed syntax for the data types, see Overview of the NIC Resolution Process.
For example, you can call a method specified in the NIC interface:
- NicValue val = nicProxy.lookupSingle(nicKey);
Alternatively, if the expected data value is an SAE reference, you can call the following method:
- SaeId saeId = nicProxy.lookupSae(nicKey);
- String val=val.getValue();
Alternatively, if the expected data value is an SAE reference:
- String val=saeId.getValue();
- String getIntermediateValue(String dataTypeName){};
- }
For information about data types, see Overview of the NIC Resolution Process.
- String[] getIntermediateValues(String dataTypeName){};