Package com.attivio.sdk.token
Interface TokenAnnotationSet
-
- All Known Implementing Classes:
FuzzyTerm
,PhraseTerm
,RegexTerm
,SearchTerm
,TermRange
,Token
,WildcardTerm
public interface TokenAnnotationSet
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
containsAnnotation(TokenAnnotation annotation)
Returns true if the specified annotation is set.long
getAnnotations()
Get all set token annotations as a bit mask.void
setAnnotation(TokenAnnotation annotation)
Set a TokenAnnotation.void
setAnnotations(long mask)
Set the token annotations from a bit mask.void
unsetAnnotation(TokenAnnotation annotation)
Unset a TokenAnnotation.
-
-
-
Method Detail
-
getAnnotations
long getAnnotations()
Get all set token annotations as a bit mask.
-
setAnnotations
void setAnnotations(long mask)
Set the token annotations from a bit mask.
-
setAnnotation
void setAnnotation(TokenAnnotation annotation)
Set a TokenAnnotation.
-
containsAnnotation
boolean containsAnnotation(TokenAnnotation annotation)
Returns true if the specified annotation is set.
-
unsetAnnotation
void unsetAnnotation(TokenAnnotation annotation)
Unset a TokenAnnotation.
-
-