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
All Methods Instance Methods Concrete Methods 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 date-
Methods inherited from class com.blackberry.workspaces.sdk.api.json.BaseJson
getObjType, setObjType, toString
-
-
-
-
Method Detail
-
getLastModificationDate
public Date getLastModificationDate()
Modification date- Returns:
- Modification date
-
setLastModificationDate
public void setLastModificationDate(Date lastModificationDate)
Modification date- Parameters:
lastModificationDate
- Modification date
-
getAnnotationFlags
public Set<AnnotationFlagsEnum> getAnnotationFlags()
List of annotation flags- Returns:
- List of annotation flags
-
setAnnotationFlags
public void setAnnotationFlags(Set<AnnotationFlagsEnum> annotationFlags)
List of annotation flags- Parameters:
annotationFlags
- List of annotation flags
-
getAnnotationColor
public AnnotationColorJson getAnnotationColor()
Color- Returns:
- Color
-
setAnnotationColor
public void setAnnotationColor(AnnotationColorJson annotationColor)
Color- Parameters:
annotationColor
- Color
-
getAnnotationType
public AnnotationType getAnnotationType()
Annotation type- Returns:
- Annotation type
-
setAnnotationType
public void setAnnotationType(AnnotationType annotationType)
Annotation type- Parameters:
annotationType
- Annotation type
-
getAnnotationRectangle
public AnnotationRectangleJson getAnnotationRectangle()
Bounding rectangle- Returns:
- Bounding rectangle
-
setAnnotationRectangle
public void setAnnotationRectangle(AnnotationRectangleJson annotationRectangle)
Bounding rectangle- Parameters:
annotationRectangle
- Bounding rectangle
-
-