public class DecisionTableCondition extends DecisionTableObject implements Cloneable
internalId, internalName, log, TIMESTAMP_FORMATSERIALIZED_CLASS_NAME, TYPEXML_SERIALIZED_CLASS_NAME| Constructor and Description |
|---|
DecisionTableCondition() |
DecisionTableCondition(String expression) |
DecisionTableCondition(String variable,
String expression) |
| Modifier and Type | Method and Description |
|---|---|
DataException |
addExceptionProperties(DataException exception)
Adds this object's current state to a
DataException. |
DecisionTableCondition |
assertValid() |
DecisionTableCondition |
clone() |
protected boolean |
evaluate(ExpressionContext expressionContext) |
DecisionTableCondition |
fromRecord(Record source)
Loads this instance's state from a record and returns
this (for fluid API call chaining). |
DecisionTableCondition |
fromXmlElement(Element element) |
LogicalExpression |
getExpression() |
String |
getExpressionSource() |
String |
getVariable() |
DecisionTableCondition |
setExpression(LogicalExpression expression) |
DecisionTableCondition |
setVariable(String variable) |
Record |
toRecord() |
Element |
toXmlElement(Document document) |
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 DecisionTableCondition()
public DecisionTableCondition(String expression)
public String getVariable()
public DecisionTableCondition setVariable(String variable)
public LogicalExpression getExpression()
public DecisionTableCondition setExpression(LogicalExpression expression)
public String getExpressionSource()
public DecisionTableCondition assertValid()
assertValid in class FoundationObjectprotected boolean 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 DecisionTableCondition clone()
clone in class FoundationObjectpublic Record toRecord()
toRecord in interface RecordSerializabletoRecord in class Beanpublic DecisionTableCondition 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 DecisionTableCondition fromXmlElement(Element element)
fromXmlElement in interface XmlSerializableCopyright (c) 2006-2025 North Concepts Inc. All Rights Reserved.