com.groupdocs.annotation.models.annotationmodels

Class AnnotationBase

  • java.lang.Object
    • com.groupdocs.annotation.models.annotationmodels.AnnotationBase
    • Field Detail

      • Counter

        public static int Counter
    • Constructor Detail

      • AnnotationBase

        public AnnotationBase()
    • Method Detail

      • deepClone

        public Object deepClone()

        Returns new Instance with same values

        Specified by:
        deepClone in interface com.aspose.ms.System.ICloneable
        Returns:
      • equals

        public final boolean equals(AnnotationBase other)

        Compares Base Annotations using IEquatable Equals method

        Parameters:
        other - The AnnotationBase object to compare with the current object
        Returns:
      • equals

        public boolean equals(Object obj)

        Compares Base Annotations using standard object Equals method

        Specified by:
        equals in interface com.aspose.ms.System.IEquatable<AnnotationBase>
        Overrides:
        equals in class Object
        Parameters:
        obj - The object to compare with the current object
      • getCreatedOn

        public final Date getCreatedOn()

        Gets or sets annotation creation date

        Returns:
      • getId

        public final int getId()

        Gets or sets annotation unique identifier

        Returns:
      • getMessage

        public final String getMessage()

        Gets or sets annotation message

        Returns:
      • getPageNumber

        public final Integer getPageNumber()

        Gets or sets page number to be annotated

        Returns:
      • getReplies

        public final List<Reply> getReplies()

        Represents annotation replies collection

        Returns:
      • getStateBeforeAnnotation

        public final Object getStateBeforeAnnotation()

        Text state before annotation

        Returns:
      • getType

        public final int getType()

        Gets or sets annotation type

        Returns:
      • getUser

        public final User getUser()

        Gets or sets annotation creator

        Returns:
      • hashCode

        public int hashCode()

        Returns HashCode of AnnotationBase Message, PageNumber and Type Properties

        Overrides:
        hashCode in class Object
      • memberwiseClone

        protected Object memberwiseClone()
      • setCreatedOn

        public final void setCreatedOn(Date value)

        Gets or sets annotation creation date

        Parameters:
        value -
      • setId

        public final void setId(int value)

        Gets or sets annotation unique identifier

        Parameters:
        value -
      • setMessage

        public final void setMessage(String value)

        Gets or sets annotation message

        Parameters:
        value -
      • setPageNumber

        public final void setPageNumber(Integer value)

        Gets or sets page number to be annotated

        Parameters:
        value -
      • setReplies

        public final void setReplies(List<Reply> value)

        Represents annotation replies collection

        Parameters:
        value -
      • setStateBeforeAnnotation

        public final void setStateBeforeAnnotation(Object value)

        Text state before annotation

        Parameters:
        value -
      • setType

        public final void setType(int value)

        Gets or sets annotation type

        Parameters:
        value -
      • setUser

        public final void setUser(User value)

        Gets or sets annotation creator

        Parameters:
        value -