Class ToDo


  • public final class ToDo
    extends java.lang.Object
    • Constructor Detail

      • ToDo

        @ConstructorProperties({"file","description"})
        public ToDo​(java.lang.String file,
                    java.lang.String description)
    • Method Detail

      • getFile

        public java.lang.String getFile()
      • getDescription

        public java.lang.String getDescription()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • withFile

        public ToDo withFile​(java.lang.String file)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withDescription

        public ToDo withDescription​(java.lang.String description)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).