public interface IlrDTExpressionDefinition extends IlrDTExpressionText
IlrDTExpressionDefinition represents an expression used in a
condition or an action definition in the DT model.
This expression type represents a BAL expression with placeholders. It
is used as a template for expression instance objects that provide values
for placeholders. An expression definition is associated with a list of
expression placeholder objects that represent the placeholders of a BAL
expression.
The BAL expression contained in this expression is parsed in the context of an expression manager. If the expression is invalid, syntax and semantic errors are collected in the associated error manager.
Do not implement this expression outside the DT framework.
IlrDTExpressionPlaceHolderNILINSTANCE, TRANSIENT, VOLATILE| Modifier and Type | Method and Description |
|---|---|
IlrDTExpressionManager |
getExpressionManager()
Returns the expression manager in the context this expression was created.
|
IlrSyntaxTree.Node |
getHolderNode()
Returns the syntax node corresponding to the holder role if this
definition represents a top level sentence.
|
IlrConcept |
getHolderRoleConcept()
Returns the concept of the holder role if this definition represents a top
level sentence.
|
java.lang.String |
getHolderText()
Returns the text of the holder role if this definition represents a top
level sentence.
|
IlrDTErrorManager |
getLocalErrorManager()
Returns the error manager used to store errors local to this definition.
|
IlrDTExpressionPlaceHolder |
getPlaceHolder(int index)
Returns the placeholder at a specific position in this expression.
|
java.util.List<IlrDTExpressionPlaceHolder> |
getPlaceHolders()
Returns the placeholders in this expression.
|
IlrSentence |
getSentence()
Returns a sentence.
|
IlrSyntacticRole |
getSyntacticRole(IlrDTExpressionPlaceHolder placeHolder)
Returns the syntactic role corresponding to the given placeholder.
|
getExpressionConcept, getExpressionSyntaxNode, getExpressionText, hasSyntacticErrors, isExpressionValidclone, clone, equals, getDTContext, getErrorManager, resetaddProperties, clearProperties, clearVolatileProperties, getProperties, getProperty, setPropertygetTimeStamp, setTimeStampIlrDTExpressionManager getExpressionManager()
java.util.List<IlrDTExpressionPlaceHolder> getPlaceHolders()
null.IlrDTExpressionPlaceHolder getPlaceHolder(int index)
index - The location of the placeholder in this expression.index. If index is
out of range, null is returned.IlrSentence getSentence()
null is returned.IlrConcept getHolderRoleConcept()
null is returned.java.lang.String getHolderText()
null is returned.IlrSyntaxTree.Node getHolderNode()
null is returned.IlrSyntacticRole getSyntacticRole(IlrDTExpressionPlaceHolder placeHolder)
placeHolder - The placeholder pointing to the part of the definition
to check.null is returned.IlrDTErrorManager getLocalErrorManager()
null.© Copyright IBM Corp. 1987, 2017