public abstract class DefaultExprDef extends java.lang.Object implements ExprDef
ExprDef.META, ExprDef.SourceHintProperty| Constructor and Description |
|---|
DefaultExprDef() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCacheKey(java.lang.String exprStr)
The key to be used for caching compiled expression instances.
|
CodeSource |
getCodeSource()
Returns the code source that contains the code for this expression.
|
java.lang.String |
getExpressionClassName()
Returns the name used for the expression class.
|
java.lang.String |
getExpressionSource()
The source string of the expression.
|
java.lang.String |
getExprIdentifier()
A unique identfier for the expression.
|
abstract groovy.lang.GroovyCodeSource |
getGroovyCodeSource() |
OwnerType |
getOwnerType()
Returns the type of object that owners the expression class.
|
java.lang.String |
getPath()
A dot separated path that may be used to lookup the ExprDef
within the ExprDef's owning compnent.
|
java.lang.Object |
getProperty(java.lang.String name) |
java.lang.String |
getScriptClassName(java.lang.String exprStr)
Returns the name used for the expression class.
|
java.lang.String |
getTriggerType()
Return the trigger type.
|
ExprEval.TrustMode |
getTrustMode()
The trust mode for the expression.
|
ExprEval.TypeCheckedMode |
getTypeCheckedMode()
Returns whether the expresion should be type checked when type checking
is enabled for the groovy compiler.
|
boolean |
hasReturn()
If the expression has a return value.
|
boolean |
isOperationsExpression()
If the expression defines operations.
|
boolean |
supportsAnnotation()
Indicates whether ADF can use an expression annotation to select
the expression method for invocation.
|
public java.lang.String getPath()
ExprDefComponentOperationsManager#findExprDef.public java.lang.String getExpressionSource()
ExprDefgetExpressionSource in interface ExprDefpublic ExprEval.TrustMode getTrustMode()
ExprDefgetTrustMode in interface ExprDefpublic boolean hasReturn()
ExprDefpublic java.lang.String getExprIdentifier()
ExprDefgetExprIdentifier in interface ExprDefpublic java.lang.String getCacheKey(java.lang.String exprStr)
ExprDefgetCacheKey in interface ExprDefpublic boolean isOperationsExpression()
ExprDefisOperationsExpression in interface ExprDefpublic java.lang.String getScriptClassName(java.lang.String exprStr)
ExprDefgetScriptClassName in interface ExprDefpublic java.lang.String getExpressionClassName()
ExprDefgetExpressionClassName in interface ExprDefpublic ExprEval.TypeCheckedMode getTypeCheckedMode()
ExprDefgetTypeCheckedMode in interface ExprDefpublic OwnerType getOwnerType()
ExprDefgetOwnerType in interface ExprDefpublic CodeSource getCodeSource()
ExprDefgetCodeSource in interface ExprDefpublic java.lang.String getTriggerType()
ExprDefgetTriggerType in interface ExprDefpublic boolean supportsAnnotation()
ExprDefsupportsAnnotation in interface ExprDefpublic java.lang.Object getProperty(java.lang.String name)
getProperty in interface ExprDefpublic abstract groovy.lang.GroovyCodeSource getGroovyCodeSource()