Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.9.0)

E52932-01


oracle.jbo
Interface ExprDef

All Known Subinterfaces:
DebugExprDef
All Known Implementing Classes:
ExpressionDef, OperationDefinitionImpl, OperationDefinitionsImpl

public interface ExprDef

Defines an interface for expression owners. ExprEval uses this interface to access data that is common to operation definitions and expressions.

Since:
release specific (what release of product did this appear in)

Method Summary
 java.lang.String getCacheKey(java.lang.String exprStr)
          The key to be used for caching compiled expression instances.
 java.lang.String getExpressionSource()
          The source string of the expression.
 java.lang.String getExprIdentifier()
          A unique identfier for the expression.
 OwnerType getOwnerType()
          Returns the type of object that owners the expression class.
 java.lang.String getScriptClassName(java.lang.String exprStr)
          Returns the name used for the expression class.
 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.

 

Method Detail

getExpressionSource

java.lang.String getExpressionSource()
The source string of the expression.

getTrustMode

ExprEval.TrustMode getTrustMode()
The trust mode for the expression.

hasReturn

boolean hasReturn()
If the expression has a return value.

getExprIdentifier

java.lang.String getExprIdentifier()
A unique identfier for the expression.

getCacheKey

java.lang.String getCacheKey(java.lang.String exprStr)
The key to be used for caching compiled expression instances.
Returns:
a cacheKey. If null then the compiled expression will not be cached.

isOperationsExpression

boolean isOperationsExpression()
If the expression defines operations.

getScriptClassName

java.lang.String getScriptClassName(java.lang.String exprStr)
Returns the name used for the expression class.

getTypeCheckedMode

ExprEval.TypeCheckedMode getTypeCheckedMode()
Returns whether the expresion should be type checked when type checking is enabled for the groovy compiler.
Returns:
ExprEval.TypeCheckedMode.always if the expr should always be type checked ExprEval.TypeCheckedMode.never if the expr should never be typ checked ExprEval.TypeCheckedMode.defer if type checking is dependent upon the application configuration

getOwnerType

OwnerType getOwnerType()
Returns the type of object that owners the expression class.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.9.0)

E52932-01


Copyright © 1997, 2015, Oracle. All rights reserved.