Class ImmutableFormRevisionEntryDocument

    • Method Detail

      • withId

        public final ImmutableFormRevisionEntryDocument withId​(@Nullable
                                                               String value)
        Copy the current immutable object by setting a value for the id attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for id (can be null)
        Returns:
        A modified copy of the this object
      • withRevisionName

        public final ImmutableFormRevisionEntryDocument withRevisionName​(String value)
        Copy the current immutable object by setting a value for the revisionName attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for revisionName
        Returns:
        A modified copy of the this object
      • withFormId

        public final ImmutableFormRevisionEntryDocument withFormId​(String value)
        Copy the current immutable object by setting a value for the formId attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for formId
        Returns:
        A modified copy of the this object
      • withCreated

        public final ImmutableFormRevisionEntryDocument withCreated​(LocalDateTime value)
        Copy the current immutable object by setting a value for the created attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for created
        Returns:
        A modified copy of the this object
      • withUpdated

        public final ImmutableFormRevisionEntryDocument withUpdated​(LocalDateTime value)
        Copy the current immutable object by setting a value for the updated attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for updated
        Returns:
        A modified copy of the this object
      • withDescription

        public final ImmutableFormRevisionEntryDocument withDescription​(@Nullable
                                                                        String value)
        Copy the current immutable object by setting a value for the description attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for description (can be null)
        Returns:
        A modified copy of the this object
      • equals

        public boolean equals​(@Nullable
                              Object another)
        This instance is equal to all instances of ImmutableFormRevisionEntryDocument that have equal attribute values.
        Overrides:
        equals in class Object
        Returns:
        true if this is equal to another instance
      • hashCode

        public int hashCode()
        Computes a hash code from attributes: id, revisionName, formId, created, updated, description.
        Overrides:
        hashCode in class Object
        Returns:
        hashCode value
      • toString

        public String toString()
        Prints the immutable value FormRevisionEntryDocument with attribute values.
        Overrides:
        toString in class Object
        Returns:
        A string representation of the value