Class Doc


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

      • Doc

        public Doc​(java.lang.String id,
                   java.lang.String dir,
                   java.lang.String file,
                   java.lang.String name,
                   java.lang.String description,
                   java.lang.String notes,
                   java.util.List<@Valid Tag> tags)
    • Method Detail

      • getId

        public java.lang.String getId()
      • getDir

        public java.lang.String getDir()
      • getFile

        public java.lang.String getFile()
      • getName

        public java.lang.String getName()
      • getDescription

        public java.lang.String getDescription()
      • getNotes

        public java.lang.String getNotes()
      • getTags

        public java.util.List<@Valid Tag> getTags()
      • 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
      • withId

        public Doc withId​(java.lang.String id)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withDir

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

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

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

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

        public Doc withNotes​(java.lang.String notes)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withTags

        public Doc withTags​(java.util.List<@Valid Tag> tags)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).