...
The old addMetadata
methods are still available, of course, although they have a new failure mode. Whent the field is authority-controlled they will call the field's configured ChoiceAuthority
's getBestMatch()
method to generate an authority key and confidence value. If the field is configured to require an authority key, an exception is thrown if getBestMatch()
does't return one.
Changes to
...
Metadatum
Add fields:
Code Block |
---|
public String authority; public int confidence; |
...