Class ImmutableWellKnownTextProperties

    • Method Detail

      • withFieldSeparator

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

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

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

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

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

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

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

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

        public boolean equals​(Object another)
        This instance is equal to all instances of ImmutableWellKnownTextProperties 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: fieldSeparator, fieldArgsSeparator, ascValue, descValue, caseInsensitiveValue, caseSensitiveValue, nullIsLastValue, nullIsFirstValue.
        Overrides:
        hashCode in class Object
        Returns:
        hashCode value
      • toString

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

        public static ImmutableWellKnownTextProperties copyOf​(WellKnownTextProperties instance)
        Creates an immutable copy of a WellKnownTextProperties value. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.
        Parameters:
        instance - The instance to copy
        Returns:
        A copied immutable WellKnownTextProperties instance