org.jpmml.model.ToStringHelper Java Examples
The following examples show how to use
org.jpmml.model.ToStringHelper.
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 |
@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 |
@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: OrdinalValue.java From jpmml-evaluator with GNU Affero General Public License v3.0 | 5 votes |
@Override protected ToStringHelper toStringHelper(){ ToStringHelper helper = super.toStringHelper() .add("ordering", getOrdering()); return helper; }
Example #4
Source File: ModelResponse.java From openscoring with GNU Affero General Public License v3.0 | 5 votes |
@Override protected ToStringHelper toStringHelper(){ return super.toStringHelper() .add("id", getId()) .add("miningFunction", getMiningFunction()) .add("summary", getSummary()) .add("properties", getProperties()) .add("schema", getSchema()); }
Example #5
Source File: TableEvaluationResponse.java From openscoring with GNU Affero General Public License v3.0 | 5 votes |
@Override protected ToStringHelper toStringHelper(){ return super.toStringHelper() .add("format", getFormat()) .add("columns", getColumns()) .add("responses", getResponses()); }
Example #6
Source File: TableEvaluationRequest.java From openscoring with GNU Affero General Public License v3.0 | 5 votes |
@Override protected ToStringHelper toStringHelper(){ return super.toStringHelper() .add("format", getFormat()) .add("columns", getColumns()) .add("requests", getRequests()); }
Example #7
Source File: AbstractComputable.java From jpmml-evaluator with GNU Affero General Public License v3.0 | 5 votes |
protected ToStringHelper toStringHelper(){ ToStringHelper helper = new ToStringHelper(this); try { helper = helper.add("result", getResult()); } catch(UnsupportedOperationException uoe){ // Ignored } catch(PMMLException pe){ helper = helper.add("result", pe); } return helper; }
Example #8
Source File: CollectionValue.java From jpmml-evaluator with GNU Affero General Public License v3.0 | 5 votes |
@Override protected ToStringHelper toStringHelper(){ ToStringHelper helper = super.toStringHelper() .add("ordering", getOrdering()); return helper; }
Example #9
Source File: ModelField.java From jpmml-evaluator with GNU Affero General Public License v3.0 | 5 votes |
protected ToStringHelper toStringHelper(){ ToStringHelper helper = new ToStringHelper(this) .add("name", getName()) .add("fieldName", getFieldName()) .add("displayName", getDisplayName()) .add("dataType", getDataType()) .add("opType", getOpType()); return helper; }
Example #10
Source File: TableFormat.java From openscoring with GNU Affero General Public License v3.0 | 5 votes |
@Override public String toString(){ ToStringHelper helper = new ToStringHelper(this) .add("charset", getCharset()) .add("delimiterChar", getDelimiterChar()) .add("quoteChar", getQuoteChar()); return helper.toString(); }
Example #11
Source File: FieldValue.java From jpmml-evaluator with GNU Affero General Public License v3.0 | 5 votes |
protected ToStringHelper toStringHelper(){ ToStringHelper helper = new ToStringHelper(this) .add("opType", getOpType()) .add("dataType", getDataType()) .add("valid", isValid()) .add("value", getValue()); return helper; }
Example #12
Source File: ReasonCodeRanking.java From jpmml-evaluator with GNU Affero General Public License v3.0 | 5 votes |
@Override protected ToStringHelper toStringHelper(){ ValueMap<String, V> reasonCodePoints = getReasonCodePoints(); ToStringHelper helper = super.toStringHelper() .add(Type.VOTE.entryKey(), reasonCodePoints.entrySet()) .add("reasonCodeRanking", getReasonCodeRanking()); return helper; }
Example #13
Source File: Report.java From jpmml-evaluator with GNU Affero General Public License v3.0 | 5 votes |
@Override public String toString(){ ToStringHelper helper = new ToStringHelper(this) .add("expression", getExpression()) .add("value", getValue()); return helper.toString(); }
Example #14
Source File: Report.java From jpmml-evaluator with GNU Affero General Public License v3.0 | 5 votes |
@Override public String toString(){ ToStringHelper helper = new ToStringHelper(this) .add("entries", getEntries()); return helper.toString(); }
Example #15
Source File: Classification.java From jpmml-evaluator with GNU Affero General Public License v3.0 | 5 votes |
@Override protected ToStringHelper toStringHelper(){ Type type = getType(); ValueMap<K, V> values = getValues(); ToStringHelper helper = super.toStringHelper() .add(type.entryKey(), values.entrySet()); return helper; }
Example #16
Source File: OutputField.java From jpmml-evaluator with GNU Affero General Public License v3.0 | 5 votes |
@Override protected ToStringHelper toStringHelper(){ ToStringHelper helper = super.toStringHelper() .add("finalResult", isFinalResult()) .add("depth", getDepth()); return helper; }
Example #17
Source File: Association.java From jpmml-evaluator with GNU Affero General Public License v3.0 | 5 votes |
@Override protected ToStringHelper toStringHelper(){ ToStringHelper helper = super.toStringHelper() .add("antecedentFlags", getAntecedentFlags()) .add("consequentFlags", getConsequentFlags()); return helper; }
Example #18
Source File: EntityClassification.java From jpmml-evaluator with GNU Affero General Public License v3.0 | 5 votes |
@Override protected ToStringHelper toStringHelper(){ ToStringHelper helper = super.toStringHelper() .add("entityId", getEntityId()); return helper; }
Example #19
Source File: NodeScore.java From jpmml-evaluator with GNU Affero General Public License v3.0 | 5 votes |
@Override protected ToStringHelper toStringHelper(){ ToStringHelper helper = super.toStringHelper() .add("entityId", getEntityId()); return helper; }
Example #20
Source File: NodeVote.java From jpmml-evaluator with GNU Affero General Public License v3.0 | 5 votes |
@Override protected ToStringHelper toStringHelper(){ ToStringHelper helper = super.toStringHelper() .add("entityId", getEntityId()); return helper; }
Example #21
Source File: NodeScoreDistribution.java From jpmml-evaluator with GNU Affero General Public License v3.0 | 5 votes |
@Override protected ToStringHelper toStringHelper(){ ValueMap<Object, V> confidences = getConfidences(); ToStringHelper helper = super.toStringHelper() .add("entityId", getEntityId()) .add(Type.CONFIDENCE.entryKey(), confidences != null ? confidences.entrySet() : Collections.emptySet()); return helper; }
Example #22
Source File: TermFeature.java From jpmml-sparkml with GNU Affero General Public License v3.0 | 5 votes |
@Override protected ToStringHelper toStringHelper(){ return super.toStringHelper() .add("defineFunction", getDefineFunction()) .add("feature", getFeature()) .add("value", getValue()); }
Example #23
Source File: Field.java From openscoring with GNU Affero General Public License v3.0 | 5 votes |
@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 #24
Source File: BatchEvaluationResponse.java From openscoring with GNU Affero General Public License v3.0 | 4 votes |
@Override protected ToStringHelper toStringHelper(){ return super.toStringHelper() .add("id", getId()) .add("responses", getResponses()); }
Example #25
Source File: SimpleResponse.java From openscoring with GNU Affero General Public License v3.0 | 4 votes |
protected ToStringHelper toStringHelper(){ return new ToStringHelper(this); }
Example #26
Source File: BatchModelResponse.java From openscoring with GNU Affero General Public License v3.0 | 4 votes |
@Override protected ToStringHelper toStringHelper(){ return super.toStringHelper() .add("responses", getResponses()); }
Example #27
Source File: EvaluationResponse.java From openscoring with GNU Affero General Public License v3.0 | 4 votes |
@Override protected ToStringHelper toStringHelper(){ return super.toStringHelper() .add("id", getId()) .add("results", getResults()); }
Example #28
Source File: DocumentFeature.java From jpmml-sparkml with GNU Affero General Public License v3.0 | 4 votes |
@Override protected ToStringHelper toStringHelper(){ return super.toStringHelper() .add("wordSeparatorRE", getWordSeparatorRE()); }
Example #29
Source File: EvaluationRequest.java From openscoring with GNU Affero General Public License v3.0 | 4 votes |
@Override protected ToStringHelper toStringHelper(){ return super.toStringHelper() .add("id", getId()) .add("arguments", getArguments()); }
Example #30
Source File: SimpleRequest.java From openscoring with GNU Affero General Public License v3.0 | 4 votes |
protected ToStringHelper toStringHelper(){ return new ToStringHelper(this); }