Package org.gbif.api.vocabulary
Interface InterpretationRemark
-
- All Known Implementing Classes:
NameUsageIssue
,OccurrenceIssue
public interface InterpretationRemark
Represents a remark flagged during the interpretation phase. IMPORTANT: Make sure no name clashes in case new implementation were added.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getId()
Returns the identifier of theInterpretationRemark
.Set<Term>
getRelatedTerms()
InterpretationRemarkSeverity
getSeverity()
Returns the default severity of thisInterpretationRemark
.boolean
isDeprecated()
Checks if theInterpretationRemark
is deprecated or not.
-
-
-
Method Detail
-
getId
String getId()
Returns the identifier of theInterpretationRemark
. This is normally implemented to return the result ofEnum.name()
. Potential name clashes are detected by unit tests.- Returns:
- identifier of the
InterpretationRemark
. Never null.
-
getSeverity
InterpretationRemarkSeverity getSeverity()
Returns the default severity of thisInterpretationRemark
. Severity can be relative to the context and profile. ThisInterpretationRemarkSeverity
should be seen as the default severity in the general context of interpretation.- Returns:
- default severity of this
InterpretationRemark
. Never null.
-
isDeprecated
boolean isDeprecated()
Checks if theInterpretationRemark
is deprecated or not.- Returns:
- true if the
InterpretationRemark
is marked with @Deprecated.
-
-