fluid-api/src/main/java/com/fluidbpm/program/api/util/elasticsearch/ESFormFieldMappingUtil.java
private void setAdditionalProps(
			JSONObject existingPropsToUpdateParam,
			String parentTypeParam
	) {
		if(parentTypeParam == null || parentTypeParam.trim().length() == 0) {
			return;
		}

		JSONObject typeJson = new JSONObject();
		typeJson.put(Field.JSONMapping.FIELD_TYPE, parentTypeParam);

		existingPropsToUpdateParam.put(
				Form.JSONMapping._PARENT, typeJson);
	}
private void setAdditionalProps(
			JSONObject existingPropsToUpdateParam,
			String parentTypeParam
	) {
		if(parentTypeParam == null || parentTypeParam.trim().length() == 0) {
			return;
		}

		JSONObject typeJson = new JSONObject();
		typeJson.put(Field.JSONMapping.FIELD_TYPE, parentTypeParam);

		existingPropsToUpdateParam.put(
				Form.JSONMapping._PARENT, typeJson);
	}
private void setAdditionalProps ( JSONObject existingPropsToUpdateParam , String parentTypeParam ) { if ( parentTypeParam == null || parentTypeParam . trim ( ) . length ( ) == 0 ) { return ; } JSONObject typeJson = new JSONObject ( ) ; typeJson . put ( Field . JSONMapping . FIELD_TYPE , parentTypeParam ) ; existingPropsToUpdateParam . put ( Form . JSONMapping . _PARENT , typeJson ) ; }
Set the additional properties on the {@code existingPropsToUpdateParam} json object.

@param existingPropsToUpdateParam The existing properties to update.
@param parentTypeParam The {@code _parent} type to set.
Set the additional properties on the { @code existingPropsToUpdateParam } json object .