Package de.swa.fuh.mpeg7
Class Annotation
java.lang.Object
de.swa.fuh.mpeg7.Annotation
- Direct Known Subclasses:
DependencyStructure
,KeywordAnnotation
public class Annotation
extends java.lang.Object
Annotation Class. Can have different types.
FreetextAnnotation is implemented.
KeywordAnnotaton and DependencyStructure is extendible
- Author:
- michaelhermann
-
Constructor Summary
Constructors Constructor Description Annotation()
Annotation(java.lang.String annotation)
-
Method Summary
Modifier and Type Method Description AnnotationType
getAnnotationType()
java.lang.String
getFreeTextAnnotation()
boolean
isFreeAnnotation()
boolean
isHasAnnotation()
boolean
isKeywordAnnotation()
void
setAnnotationType(AnnotationType annotationType)
void
setFreeTextAnnotation(java.lang.String freeTextAnnotation)
void
setHasAnnotation(boolean hasAnnotation)
-
Constructor Details
-
Annotation
public Annotation() -
Annotation
public Annotation(java.lang.String annotation)
-
-
Method Details
-
isHasAnnotation
public boolean isHasAnnotation() -
setHasAnnotation
public void setHasAnnotation(boolean hasAnnotation) -
getFreeTextAnnotation
public java.lang.String getFreeTextAnnotation() -
setFreeTextAnnotation
public void setFreeTextAnnotation(java.lang.String freeTextAnnotation) -
getAnnotationType
-
setAnnotationType
-
isFreeAnnotation
public boolean isFreeAnnotation() -
isKeywordAnnotation
public boolean isKeywordAnnotation()
-