Class ImmutableConstitution.AppliedNameForms

    • Method Detail

      • withAbsolute

        public final ImmutableConstitution.AppliedNameForms withAbsolute​(java.lang.String value)
        Copy the current immutable object by setting a value for the absolute attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for absolute
        Returns:
        A modified copy of the this object
      • withAbsoluteRaw

        public final ImmutableConstitution.AppliedNameForms withAbsoluteRaw​(java.lang.String value)
        Copy the current immutable object by setting a value for the absoluteRaw attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for absoluteRaw
        Returns:
        A modified copy of the this object
      • withForms

        public final ImmutableConstitution.AppliedNameForms withForms​(Constitution.NameForms value)
        Copy the current immutable object by setting a value for the forms attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for forms
        Returns:
        A modified copy of the this object
      • withApplied

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

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

        public int hashCode()
        Computes a hash code from attributes: absolute, absoluteRaw, forms, applied, simple, isNew.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        hashCode value