Class OperationReplyToAnnotation


  • public class OperationReplyToAnnotation
    extends Object
    An annotation, that represents a textual reply to another annotation.
    • Constructor Detail

      • OperationReplyToAnnotation

        public OperationReplyToAnnotation()
    • Method Detail

      • getComment

        @Nullable
        public @Nullable String getComment()
        This value is used to set the textual comment/reply to display.
        Returns:
        comment
      • setComment

        public void setComment​(String comment)
      • getCreator

        @Nullable
        public @Nullable String getCreator()
        Used to specify the author of the annotation.
        Returns:
        creator
      • setCreator

        public void setCreator​(String creator)
      • getName

        @Nullable
        public @Nullable String getName()
        Used to specify the name of the annotation.
        Returns:
        name
      • setName

        public void setName​(String name)
      • getPage

        @Nullable
        public @Nullable Integer getPage()
        Set the number of the page, the annotation shall be placed on. **Important:** A reply shall always be placed on the same page as it's target annotation. This is mostly providing a hint where to find the selected annotation. minimum: 1
        Returns:
        page
      • setPage

        public void setPage​(Integer page)
      • getReplyTo

        @Nullable
        public @Nullable String getReplyTo()
        Selects the object id of the annotation, that this annotation shall be a reply to. The object id shall be given as a String that may contain either: * The numeric object ID itself * The object ID followed by the generation number, separated by a space
        Returns:
        replyTo
      • setReplyTo

        public void setReplyTo​(String replyTo)
      • getSubject

        @Nullable
        public @Nullable String getSubject()
        Used to specify the subject of the annotation.
        Returns:
        subject
      • setSubject

        public void setSubject​(String subject)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object