Skip navigation links

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

E67681-01


oracle.jbo
Interface ExprDef

All Known Subinterfaces:
DebugExprDef
All Known Implementing Classes:
DefaultExprDef, 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)

Nested Class Summary
static class ExprDef.OverrideMode
          OverrideMode controls whether an expression can be overridden.
static class ExprDef.Visibility
          Visibility represents the scope in which a particular expresion (including operations) is visible.

 

Field Summary
static oracle.adf.share.logging.ADFLogger mLogger
           
static java.lang.String OVERRIDEMODE_PROPERTY
           
static java.lang.String VISIBILITY_PROPERTY
           

 

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.
 ExprDef.OverrideMode getOverrideMode()
          The override mode 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.
 ExprDef.Visibility getVisibility()
          The visibility of the expression.
 boolean hasReturn()
          If the expression has a return value.
 boolean isOperationsExpression()
          If the expression defines operations.

 

Field Detail

mLogger

static final oracle.adf.share.logging.ADFLogger mLogger
For internal use only. Application developers should not use this

OVERRIDEMODE_PROPERTY

static final java.lang.String OVERRIDEMODE_PROPERTY
See Also:
Constant Field Values

VISIBILITY_PROPERTY

static final java.lang.String VISIBILITY_PROPERTY
See Also:
Constant Field Values

Method Detail

getExpressionSource

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

getTrustMode

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

getOverrideMode

ExprDef.OverrideMode getOverrideMode()
The override mode for the expression.

getVisibility

ExprDef.Visibility getVisibility()
The visibility of 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.1)

E67681-01


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