src/main/java/com/hp/autonomy/hod/client/api/textindex/document/AddToTextIndexRequestBuilder.java
public AddToTextIndexRequestBuilder addAdditionalMetadata(final Object metadatum, final Object... metadata) {
        this.additionalMetadata.add(metadatum);
        this.additionalMetadata.addAll(Arrays.asList(metadata));

        return this;
    }
public AddToTextIndexRequestBuilder addAdditionalMetadata(final Object metadatum, final Object... metadata) {
        this.additionalMetadata.add(metadatum);
        this.additionalMetadata.addAll(Arrays.asList(metadata));

        return this;
    }
Sets the value of the metadata parameter

@param metadatum The first index
@param metadata  The remaining metadata
@return this