Class OfficeAnnotation

java.lang.Object
com.github.miachm.sods.OfficeAnnotation
All Implemented Interfaces:
Cloneable

public class OfficeAnnotation extends Object implements Cloneable
This class represent an Annotation in a Cell of the Sheet. It can not be instanced by itself, you should use OfficeAnnotationBuilder
See Also:
  • Constructor Details

    • OfficeAnnotation

      public OfficeAnnotation()
    • OfficeAnnotation

      public OfficeAnnotation(String msg, LocalDateTime lastModified)
  • Method Details

    • getMsg

      public String getMsg()
      Returns the msg contained in the comment
      Returns:
      The msg in the comment
    • getLastModified

      public LocalDateTime getLastModified()
      Get the date of the comment (last modification date)
      Returns:
      The date, or null if it is not known
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object