public abstract class AnnotationBase extends Object
Base class for all annotation types
Constructor and Description |
---|
AnnotationBase() |
Modifier and Type | Method and Description |
---|---|
Date |
getCreatedOn()
Gets or sets annotation creation date
|
int |
getId()
Gets or sets annotation unique identifier
|
String |
getMessage()
Gets or sets annotation message
|
Integer |
getPageNumber()
Gets or sets page number to be annotated
|
List<Reply> |
getReplies()
Represents annotation replies collection
|
Object |
getStateBeforeAnnotation()
Text state before annotation
|
int |
getType()
Gets or sets annotation type
|
User |
getUser()
Gets or sets annotation creator
|
void |
setCreatedOn(Date value)
Gets or sets annotation creation date
|
void |
setId(int value)
Gets or sets annotation unique identifier
|
void |
setMessage(String value)
Gets or sets annotation message
|
void |
setPageNumber(Integer value)
Gets or sets page number to be annotated
|
void |
setReplies(List<Reply> value)
Represents annotation replies collection
|
void |
setStateBeforeAnnotation(Object value)
Text state before annotation
|
void |
setType(int value)
Gets or sets annotation type
|
void |
setUser(User value)
Gets or sets annotation creator
|
String |
toString() |
public final Date getCreatedOn()
Gets or sets annotation creation date
public final int getId()
Gets or sets annotation unique identifier
public final String getMessage()
Gets or sets annotation message
public final Integer getPageNumber()
Gets or sets page number to be annotated
public final Object getStateBeforeAnnotation()
Text state before annotation
public final int getType()
Gets or sets annotation type
public final User getUser()
Gets or sets annotation creator
public final void setCreatedOn(Date value)
Gets or sets annotation creation date
value
- public final void setId(int value)
Gets or sets annotation unique identifier
value
- public final void setMessage(String value)
Gets or sets annotation message
value
- public final void setPageNumber(Integer value)
Gets or sets page number to be annotated
value
- public final void setReplies(List<Reply> value)
Represents annotation replies collection
value
- public final void setStateBeforeAnnotation(Object value)
Text state before annotation
value
- public final void setType(int value)
Gets or sets annotation type
value
- public final void setUser(User value)
Gets or sets annotation creator
value
-