public class DecisionTree extends DecisionTreeObject
internalId, internalName, log, TIMESTAMP_FORMATSERIALIZED_CLASS_NAME, TYPEXML_SERIALIZED_CLASS_NAME| Constructor and Description |
|---|
DecisionTree() |
assertValid, clone, exception, exception, exception, getInternalId, getInternalName, resetInternalIdequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfromArrayValue, fromArrayValue, fromArrayValue, fromJson, newInstanceFromRecord, newInstanceFromRecord, toArrayValue, toJson, toJson, toJson, toRecordnewInstanceFromJsonforEachGrandChildElement, fromXml, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getChildElement, getChildElements, newInstanceFromXml, newInstanceFromXml, setAttribute, toXml, toXml, toXml, toXml, writeXml, writeXmladdExceptionProperties, contributeExceptionProperties, contributeExceptionPropertiespublic void visit(DecisionTreeVisitor visitor)
public String getName()
public DecisionTree setName(String name)
public String getDescription()
public DecisionTree setDescription(String description)
public DecisionTreeNode getRootNode()
public DecisionTree setRootNode(DecisionTreeNode rootNode)
public DefaultExpressionContext getRootExpressionContext()
public DecisionTree setValue(String name, Object value)
public DecisionTree setValue(String name, Object value, Class<?> type)
public List<CalculatedField> getFields()
public DecisionTree addField(Collection<CalculatedField> fields)
public DecisionTree addField(String variable, String expression)
public DecisionTree addField(String variable, String expression, boolean includeInOutcome)
public DecisionTree addField(CalculatedField field)
public long getRownum()
public DecisionTree assertValid()
assertValid in class FoundationObjectpublic DecisionTreeResult evaluate(ExpressionContext expressionContext)
public DataException addExceptionProperties(DataException exception)
FoundationObjectDataException. Since this method is called whenever an
exception is thrown, subclasses should override it to add their specific information.addExceptionProperties in interface DataExceptionContributoraddExceptionProperties in class FoundationObjectpublic DecisionTree toXml(Writer writer)
public DecisionTree fromXml(InputStream inputStream)
public Record toRecord()
toRecord in interface RecordSerializabletoRecord in class Beanpublic DecisionTree fromRecord(Record source)
RecordSerializablethis (for fluid API call chaining).
For fluid API call chaining, the overridden method should change the declared return type to its class.fromRecord in interface RecordSerializablefromRecord in class Beanpublic DecisionTree fromJson(String jsonString)
public DecisionTree fromXmlElement(Element element)
Copyright (c) 2006-2025 North Concepts Inc. All Rights Reserved.