Class FormatXML1RuntimeChildTags

    • Method Detail

      • withTags

        public final FormatXML1RuntimeChildTags withTags​(java.lang.String... elements)
        Copy the current immutable object with elements that replace the content of tags.
        Parameters:
        elements - The elements to set
        Returns:
        A modified copy of this object
      • withTags

        public final FormatXML1RuntimeChildTags withTags​(java.lang.Iterable<java.lang.String> elements)
        Copy the current immutable object with elements that replace the content of tags. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        elements - An iterable of tags elements to set
        Returns:
        A modified copy of this object
      • equals

        public boolean equals​(java.lang.Object another)
        This instance is equal to all instances of FormatXML1RuntimeChildTags 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: tags.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        hashCode value
      • toString

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

        public static FormatXML1RuntimeChildTags of​(java.util.Set<java.lang.String> tags)
        Construct a new immutable FormatXML1RuntimeChildTags instance.
        Parameters:
        tags - The value for the tags attribute
        Returns:
        An immutable FormatXML1RuntimeChildTags instance
      • of

        public static FormatXML1RuntimeChildTags of​(java.lang.Iterable<java.lang.String> tags)
        Construct a new immutable FormatXML1RuntimeChildTags instance.
        Parameters:
        tags - The value for the tags attribute
        Returns:
        An immutable FormatXML1RuntimeChildTags instance