public class DecisionTreeNode extends DecisionTreeObject implements Cloneable
internalId, internalName, log, TIMESTAMP_FORMATSERIALIZED_CLASS_NAME, TYPEXML_SERIALIZED_CLASS_NAME| Constructor and Description |
|---|
DecisionTreeNode() |
DecisionTreeNode(String condition) |
DecisionTreeNode(String name,
String condition) |
addExceptionProperties, assertValid, assertValid, exception, exception, exception, getInternalId, getInternalName, resetInternalIdequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfromArrayValue, fromArrayValue, fromArrayValue, fromJson, fromJson, newInstanceFromRecord, newInstanceFromRecord, toArrayValue, toJson, toJson, toJson, toRecordnewInstanceFromJsonforEachGrandChildElement, fromXml, fromXml, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getChildElement, getChildElements, newInstanceFromXml, newInstanceFromXml, setAttribute, toXml, toXml, toXml, toXml, toXml, writeXml, writeXmladdExceptionProperties, contributeExceptionProperties, contributeExceptionPropertiespublic DecisionTreeNode()
public DecisionTreeNode(String condition)
public String getName()
public DecisionTreeNode setName(String name)
public String getDescription()
public DecisionTreeNode setDescription(String description)
public LogicalExpression getCondition()
public String getConditionAsSource()
public DecisionTreeNode setCondition(LogicalExpression condition)
public ArrayList<DecisionTreeNode> getNodes()
public DecisionTreeNode addNode(DecisionTreeNode node)
public DecisionTreeNode addNode(Collection<DecisionTreeNode> nodes)
public DecisionTreeNode getDefaultNode()
public DecisionTreeNode setDefaultNode(DecisionTreeNode defaultNode)
public List<DecisionTreeOutcome> getOutcomes()
public DecisionTreeNode addOutcome(Collection<DecisionTreeOutcome> outcomes)
public DecisionTreeNode addOutcome(String variable, String expression)
public DecisionTreeNode addOutcome(DecisionTreeOutcome outcome)
public DecisionTreeNode clone()
clone in class FoundationObjectpublic Record toRecord()
toRecord in interface RecordSerializabletoRecord in class Beanpublic DecisionTreeNode 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 Element toXmlElement(Document document)
toXmlElement in interface XmlSerializablepublic DecisionTreeNode fromXmlElement(Element element)
fromXmlElement in interface XmlSerializableCopyright (c) 2006-2025 North Concepts Inc. All Rights Reserved.