service.api/src/main/java/com/hack23/cia/service/api/action/user/SearchDocumentResponse.java
public void setResultElement(final List<DocumentElement> resultElement) {
		if (resultElement != null) {
			this.resultElement = resultElement.stream().collect(Collectors.toList());
		}
	}
public void setResultElement(final List<DocumentElement> resultElement) {
		if (resultElement != null) {
			this.resultElement = resultElement.stream().collect(Collectors.toList());
		}
	}
public void setResultElement ( final List < DocumentElement > resultElement ) { if ( resultElement != null ) { this . resultElement = resultElement . stream ( ) . collect ( Collectors . toList ( ) ) ; } }
Sets the result element.

@param resultElement
the new result element
Sets the result element .