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()
ExprDef
ComponentOperationsManager#findExprDef
.public java.lang.String getExpressionSource()
ExprDef
getExpressionSource
in interface ExprDef
public ExprEval.TrustMode getTrustMode()
ExprDef
getTrustMode
in interface ExprDef
public boolean hasReturn()
ExprDef
public java.lang.String getExprIdentifier()
ExprDef
getExprIdentifier
in interface ExprDef
public java.lang.String getCacheKey(java.lang.String exprStr)
ExprDef
getCacheKey
in interface ExprDef
public boolean isOperationsExpression()
ExprDef
isOperationsExpression
in interface ExprDef
public java.lang.String getScriptClassName(java.lang.String exprStr)
ExprDef
getScriptClassName
in interface ExprDef
public java.lang.String getExpressionClassName()
ExprDef
getExpressionClassName
in interface ExprDef
public ExprEval.TypeCheckedMode getTypeCheckedMode()
ExprDef
getTypeCheckedMode
in interface ExprDef
public OwnerType getOwnerType()
ExprDef
getOwnerType
in interface ExprDef
public CodeSource getCodeSource()
ExprDef
getCodeSource
in interface ExprDef
public java.lang.String getTriggerType()
ExprDef
getTriggerType
in interface ExprDef
public boolean supportsAnnotation()
ExprDef
supportsAnnotation
in interface ExprDef
public java.lang.Object getProperty(java.lang.String name)
getProperty
in interface ExprDef
public abstract groovy.lang.GroovyCodeSource getGroovyCodeSource()