In order to make the definition more explicit we should bring it to the gbif-api project. The same mechanism is also required to identify remarks in ChecklistBank.
The idea would be to have an interface like the following:
public interface InterpretationRemark {
Set<Term> getRelatedTerms();
}
OccurrenceIssue and NameUsageIssue would then implement it.
Interpretation remarks are also known as "issues" (e.g. OccurrenceIssue).
Currently for occurrences this information is defined in InterpretationRemarksDefinition.
In order to make the definition more explicit we should bring it to the gbif-api project. The same mechanism is also required to identify remarks in ChecklistBank.
The idea would be to have an interface like the following:
OccurrenceIssue
andNameUsageIssue
would then implement it.