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 booleancontainsAnnotation(TokenAnnotation annotation)Returns true if the specified annotation is set.longgetAnnotations()Get all set token annotations as a bit mask.voidsetAnnotation(TokenAnnotation annotation)Set a TokenAnnotation.voidsetAnnotations(long mask)Set the token annotations from a bit mask.voidunsetAnnotation(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.
-
-