Class DocumentAnnotationJson
java.lang.Object
com.blackberry.workspaces.sdk.api.json.BaseJson
com.blackberry.workspaces.sdk.api.json.DocumentAnnotationJson
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MarkupDocumentAnnotationJson
public class DocumentAnnotationJson extends BaseJson
Annotation details
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description DocumentAnnotationJson()
-
Method Summary
Modifier and Type Method Description AnnotationColorJson
getAnnotationColor()
ColorSet<AnnotationFlagsEnum>
getAnnotationFlags()
List of annotation flagsAnnotationRectangleJson
getAnnotationRectangle()
Bounding rectangleAnnotationType
getAnnotationType()
Annotation typeDate
getLastModificationDate()
Modification datevoid
setAnnotationColor(AnnotationColorJson annotationColor)
Colorvoid
setAnnotationFlags(Set<AnnotationFlagsEnum> annotationFlags)
List of annotation flagsvoid
setAnnotationRectangle(AnnotationRectangleJson annotationRectangle)
Bounding rectanglevoid
setAnnotationType(AnnotationType annotationType)
Annotation typevoid
setLastModificationDate(Date lastModificationDate)
Modification dateMethods inherited from class com.blackberry.workspaces.sdk.api.json.BaseJson
getObjType, setObjType, toString
-
Constructor Details
-
DocumentAnnotationJson
public DocumentAnnotationJson()
-
-
Method Details
-
getLastModificationDate
Modification date- Returns:
- Modification date
-
setLastModificationDate
Modification date- Parameters:
lastModificationDate
- Modification date
-
getAnnotationFlags
List of annotation flags- Returns:
- List of annotation flags
-
setAnnotationFlags
List of annotation flags- Parameters:
annotationFlags
- List of annotation flags
-
getAnnotationColor
Color- Returns:
- Color
-
setAnnotationColor
Color- Parameters:
annotationColor
- Color
-
getAnnotationType
Annotation type- Returns:
- Annotation type
-
setAnnotationType
Annotation type- Parameters:
annotationType
- Annotation type
-
getAnnotationRectangle
Bounding rectangle- Returns:
- Bounding rectangle
-
setAnnotationRectangle
Bounding rectangle- Parameters:
annotationRectangle
- Bounding rectangle
-