public abstract class AnnotationBase extends Object implements com.aspose.ms.System.ICloneable, com.aspose.ms.System.IEquatable<AnnotationBase>
Base class for all annotation types
Modifier and Type | Field and Description |
---|---|
static int |
Counter |
Constructor and Description |
---|
AnnotationBase() |
Modifier and Type | Method and Description |
---|---|
Object |
deepClone()
Returns new Instance with same values
|
boolean |
equals(AnnotationBase other)
Compares Base Annotations using IEquatable Equals method
|
boolean |
equals(Object obj)
Compares Base Annotations using standard object Equals method
|
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
|
int |
hashCode()
Returns HashCode of AnnotationBase Message, PageNumber and Type
Properties
|
protected Object |
memberwiseClone() |
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 Object deepClone()
Returns new Instance with same values
deepClone
in interface com.aspose.ms.System.ICloneable
public final boolean equals(AnnotationBase other)
Compares Base Annotations using IEquatable Equals method
other
- The AnnotationBase object to compare with the current objectpublic boolean equals(Object obj)
Compares Base Annotations using standard object Equals method
equals
in interface com.aspose.ms.System.IEquatable<AnnotationBase>
equals
in class Object
obj
- The object to compare with the current objectpublic 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 int hashCode()
Returns HashCode of AnnotationBase Message, PageNumber and Type Properties
protected Object memberwiseClone()
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
-