com.groupdocs.metadata.legacy

Interfaces

Classes

Exceptions

com.groupdocs.metadata.legacy

Class DocComment

  • All Implemented Interfaces:
    com.aspose.ms.System.IEquatable<DocComment>

    Deprecated.

    @Deprecated
    public final class DocComment
    extends Object
    implements com.aspose.ms.System.IEquatable<DocComment>

    Represents a comment in a word processing document.

    • Constructor Summary

      Constructors 
      Constructor and Description
      DocComment()
      Deprecated. 
      Initializes a new instance of the DocComment class.
      DocComment(int id, String author, String initials, String text, Date createdDate)
      Deprecated. 
      Initializes a new instance of the DocComment class.
      DocComment(String author, String initials, Date createdDate)
      Deprecated. 
      Initializes a new instance of the DocComment class.
    • Constructor Detail

      • DocComment

        public DocComment()
        Deprecated. 

        Initializes a new instance of the DocComment class.

      • DocComment

        public DocComment(String author,
                  String initials,
                  Date createdDate)
        Deprecated. 

        Initializes a new instance of the DocComment class.

        Parameters:
        author - Comment's author.
        initials - Comment's initials.
        createdDate - Comment's created date.
      • DocComment

        public DocComment(int id,
                  String author,
                  String initials,
                  String text,
                  Date createdDate)
        Deprecated. 

        Initializes a new instance of the DocComment class.

        Parameters:
        id - Comment's id. Use this identifier for updating/delete specific comment.
        author - Comment's author.
        initials - Comment's initials.
        text - Comment's text.
        createdDate - Comment's created date.
    • Method Detail

      • getId

        public final int getId()
        Deprecated. 

        Gets comment's id. Use this identifier to update or remove comment.

        Returns:
        The identifier.
      • setId

        public final void setId(int value)
        Deprecated. 

        Sets comment's id. Use this identifier to update or remove comment.

        Parameters:
        value - The identifier.
      • getAuthor

        public final String getAuthor()
        Deprecated. 

        Gets the author.

        Returns:
        The author.
      • setAuthor

        public final void setAuthor(String value)
        Deprecated. 

        Sets the author.

        Parameters:
        value - The author.
      • getInitials

        public final String getInitials()
        Deprecated. 

        Gets author's initials.

        Returns:
        The initials of the author.
      • setInitials

        public final void setInitials(String value)
        Deprecated. 

        Sets author's initials.

        Parameters:
        value - The initials of the author.
      • getText

        public final String getText()
        Deprecated. 

        Gets or comment's text.

        Returns:
        The text.
      • setText

        public final void setText(String value)
        Deprecated. 

        Gets or comment's text.

      • getCreatedDate

        public final Date getCreatedDate()
        Deprecated. 

        Gets comment's created date.

        Returns:
        The created date.
      • setCreatedDate

        public final void setCreatedDate(Date value)
        Deprecated. 

        Sets comment's created date.

        Parameters:
        value - The created date.
      • equals

        public final boolean equals(DocComment other)
        Deprecated. 

        Indicates whether the current object is equal to another object of the same type.

        Parameters:
        other - An object to compare with this object.
        Returns:
        true if the current object is equal to the other parameter; otherwise, false.
      • equals

        public boolean equals(Object obj)
        Deprecated. 

        Determines whether the specified System.Object is equal to this instance.

        Specified by:
        equals in interface com.aspose.ms.System.IEquatable<DocComment>
        Overrides:
        equals in class Object
        Parameters:
        obj - The System.Object to compare with this instance.
        Returns:
        true if the specified System.Object is equal to this instance; otherwise, false.
      • hashCode

        public int hashCode()
        Deprecated. 

        Returns a hash code for this instance.

        Overrides:
        hashCode in class Object
        Returns:
        A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.