public interface IlrDTExpressionRole extends IlrDTExpressionText
| Modifier and Type | Field and Description |
|---|---|
static int |
HOLDER_ROLE_INDEX
Deprecated.
Index value representing the holder role.
|
NILINSTANCE, TRANSIENT, VOLATILE| Modifier and Type | Method and Description |
|---|---|
IlrDTExpressionSentence |
getExpressionSentence()
Deprecated.
Returns the expression sentence holding this expression role.
|
java.util.Collection |
getExpressionTexts()
Deprecated.
Returns the collection of element's text if
isCollection() is true. |
IlrConcept |
getParameterConcept()
Deprecated.
Returns the vocabulary concept associated with the corresponding parameter.
|
int |
getParameterIndex()
Deprecated.
Returns the parameter index in expression sentence or
HOLDER_ROLE_INDEX for holder role expression. |
int |
getSentenceIndex()
Deprecated.
Returns the role index in the sentence.
|
IlrSyntacticRole |
getSyntacticRole()
Deprecated.
Returns the syntactic role associated to this expression.
|
java.lang.Object |
getValue()
Deprecated.
Returns the value corresponding to the text and the concept of the expression.
|
boolean |
isCollection()
Deprecated.
Returns true if the cardinality of the related role is plural.
|
boolean |
isLiteral()
Deprecated.
If the expression is a literal,
getValue() returns the value corresponding
to the text and the concept of the expression. |
void |
setExpressionText(java.lang.String text)
Deprecated.
Sets the text of the expression.
|
void |
setExpressionTexts(java.util.Collection collection)
Deprecated.
Sets the text of the expression according to the collection.
|
void |
setText(java.lang.String text)
Deprecated.
Sets the text of the expression.
|
getExpressionConcept, getExpressionSyntaxNode, getExpressionText, hasSyntacticErrors, isExpressionValidclone, clone, equals, getDTContext, getErrorManager, resetaddProperties, clearProperties, clearVolatileProperties, getProperties, getProperty, setPropertygetTimeStamp, setTimeStampstatic final int HOLDER_ROLE_INDEX
IlrDTExpressionSentence getExpressionSentence()
IlrConcept getParameterConcept()
int getParameterIndex()
HOLDER_ROLE_INDEX for holder role expression.HOLDER_ROLE_INDEX for holder role expression.int getSentenceIndex()
void setText(java.lang.String text)
text - The expression in a text string.boolean isLiteral()
getValue() returns the value corresponding
to the text and the concept of the expression.boolean isCollection()
java.lang.Object getValue()
isLiteral() is true.java.util.Collection getExpressionTexts()
isCollection() is true.void setExpressionTexts(java.util.Collection collection)
collection - The collection defining the text of the expression.void setExpressionText(java.lang.String text)
text - the text of the expression.IlrSyntacticRole getSyntacticRole()
© Copyright IBM Corp. 1987, 2017