Class Test


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

      • Test

        @ConstructorProperties({"id","description","notes","priority"})
        public Test​(java.lang.String id,
                    java.lang.String description,
                    java.lang.String notes,
                    Priority priority)
    • Method Detail

      • getId

        public java.lang.String getId()
      • getDescription

        public java.lang.String getDescription()
      • getNotes

        public java.lang.String getNotes()
      • getPriority

        public Priority getPriority()
      • 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 Test withId​(java.lang.String id)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withDescription

        public Test 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 Test withNotes​(java.lang.String notes)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withPriority

        public Test withPriority​(Priority priority)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).