Java Code Examples for org.jpmml.model.ToStringHelper#toString()

The following examples show how to use org.jpmml.model.ToStringHelper#toString() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Conflict.java    From jpmml-evaluator with GNU Affero General Public License v3.0 6 votes vote down vote up
@Override
public String toString(){
	ToStringHelper helper = new ToStringHelper(this)
		.add("id", getId())
		.add("arguments", getArguments());

	MapDifference<FieldName, ?> difference = getDifference();
	if(difference != null){
		helper.add("difference", getDifference());
	}

	Exception exception = getException();
	if(exception != null){
		helper.add("exception", exception);
	}

	return helper.toString();
}
 
Example 2
Source File: SimpleResponse.java    From openscoring with GNU Affero General Public License v3.0 6 votes vote down vote up
@Override
public String toString(){
	String message = getMessage();

	ToStringHelper helper;

	if(message != null){
		helper = new ToStringHelper(this)
			.add("message", message);
	} else

	{
		helper = toStringHelper();
	}

	return helper.toString();
}
 
Example 3
Source File: Report.java    From jpmml-evaluator with GNU Affero General Public License v3.0 5 votes vote down vote up
@Override
public String toString(){
	ToStringHelper helper = new ToStringHelper(this)
		.add("entries", getEntries());

	return helper.toString();
}
 
Example 4
Source File: Report.java    From jpmml-evaluator with GNU Affero General Public License v3.0 5 votes vote down vote up
@Override
public String toString(){
	ToStringHelper helper = new ToStringHelper(this)
		.add("expression", getExpression())
		.add("value", getValue());

	return helper.toString();
}
 
Example 5
Source File: Field.java    From openscoring with GNU Affero General Public License v3.0 5 votes vote down vote up
@Override
public String toString(){
	ToStringHelper helper = new ToStringHelper(this)
		.add("id", getId())
		.add("name", getName())
		.add("dataType", getDataType())
		.add("opType", getOpType())
		.add("values", getValues());

	return helper.toString();
}
 
Example 6
Source File: TableFormat.java    From openscoring with GNU Affero General Public License v3.0 5 votes vote down vote up
@Override
public String toString(){
	ToStringHelper helper = new ToStringHelper(this)
		.add("charset", getCharset())
		.add("delimiterChar", getDelimiterChar())
		.add("quoteChar", getQuoteChar());

	return helper.toString();
}
 
Example 7
Source File: FieldValue.java    From jpmml-evaluator with GNU Affero General Public License v3.0 4 votes vote down vote up
@Override
public String toString(){
	ToStringHelper helper = toStringHelper();

	return helper.toString();
}
 
Example 8
Source File: ModelField.java    From jpmml-evaluator with GNU Affero General Public License v3.0 4 votes vote down vote up
@Override
public String toString(){
	ToStringHelper helper = toStringHelper();

	return helper.toString();
}
 
Example 9
Source File: AbstractComputable.java    From jpmml-evaluator with GNU Affero General Public License v3.0 4 votes vote down vote up
@Override
public String toString(){
	ToStringHelper helper = toStringHelper();

	return helper.toString();
}
 
Example 10
Source File: SimpleRequest.java    From openscoring with GNU Affero General Public License v3.0 4 votes vote down vote up
@Override
public String toString(){
	ToStringHelper helper = toStringHelper();

	return helper.toString();
}