public final class AnnotationItem extends Object
| Constructor and Description |
|---|
AnnotationItem(String value)
Initializes a new instance of the
AnnotationItem class. |
AnnotationItem(String value,
String annotationType)
Initializes a new instance of the
AnnotationItem class with the annotation type. |
| Modifier and Type | Method and Description |
|---|---|
String |
getAnnotationType()
Gets the annotation type.
|
String |
getAuthorInitials()
Gets the annotation author initials.
|
String |
getAuthorName()
Gets the annotation author name.
|
Date |
getTimestamp()
Gets the date and time when the annotation was created or last modified.
|
String |
getValue()
Gets the value of the annotation item.
|
void |
setAnnotationType(String annotationType)
Sets the annotation type.
|
void |
setAuthorInitials(String authorInitials)
Sets the annotation author initials.
|
void |
setAuthorName(String authorName)
Sets the annotation author name.
|
void |
setTimestamp(Date timestamp)
Sets the date and time when the annotation was created or last modified.
|
public AnnotationItem(String value)
AnnotationItem class.value - The value of the annotation item.public AnnotationItem(String value, String annotationType)
AnnotationItem class with the annotation type.value - The value of the annotation item.annotationType - The annotation type.public String getValue()
public String getAnnotationType()
public void setAnnotationType(String annotationType)
annotationType - The annotation type.public Date getTimestamp()
null if the document doesn't provide it.public void setTimestamp(Date timestamp)
timestamp - The date and time when the annotation was created or last modified.public String getAuthorName()
null if the document doesn't provide it.public void setAuthorName(String authorName)
authorName - The annotation author name.public String getAuthorInitials()
null if the document doesn't provide it.public void setAuthorInitials(String authorInitials)
authorInitials - The annotation author initials.Copyright © 2026. All rights reserved.