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.common
Class DefaultCompileContext

java.lang.Object
  extended by groovy.lang.GroovyObjectSupport
      extended by groovy.lang.Binding
          extended by oracle.jbo.AbstractCompileContext
              extended by oracle.jbo.common.DefaultCompileContext

All Implemented Interfaces:
groovy.lang.GroovyObject, ExprCompileContext

public class DefaultCompileContext
extends AbstractCompileContext

A default implementation of a compile context. This should be used with a DefaultExprDef for general purpose use of the ADF groovy compiler/evaluator.


Nested Class Summary

 

Nested classes/interfaces inherited from class oracle.jbo.AbstractCompileContext
AbstractCompileContext.UntypedExtendedType

 

Field Summary

 

Fields inherited from class oracle.jbo.AbstractCompileContext
mExtendedType

 

Fields inherited from interface oracle.jbo.ExprCompileContext
GLOBAL_RECEIVER_NAME, UNKNOWN_PARAMETER_TYPE_NAME, VOID_RETURN_TYPE

 

Constructor Summary
DefaultCompileContext(ExprDef exprDef)
           
DefaultCompileContext(ExprDef exprDef, StructureDefinition structureDefinition)
           

 

Method Summary
 ExprDef getExprDef()
          Return the definition of the expressio that is compiling.
 java.lang.String getGlobalOperationReturnType(java.lang.String name, java.lang.String... argtypes)
          Return the type of the given global operations.
 StructureDefinition getStructureDefinition()
          Return the oracle.binding.meta.StructureDefnition of the compile context.

 

Methods inherited from class oracle.jbo.AbstractCompileContext
classesFor, classFor, createExtendedType, createUntypedExtendedType, getCurrentASTNode, getCurrentNode, getErrorCollector, getExprTrustSupplier, getExtendedType, getMethodReturnType, getNewValueType, getOldValueType, getPropertyType, getReturnType, getReturnType, getSourceAttributeType, getSourceMethodReturnType, getSourceOperationReturnType, getSourcePropertyType, getSourceType, getVariableType, isAssignableFrom, isMandatoryAttribute, isRowAttribute, isTypeChecked, operationMatches, setCurrentASTNode, setCurrentNode, setErrorCollector, setTypeCheckerClassLoader

 

Methods inherited from class groovy.lang.Binding
getProperty, getVariable, getVariables, hasVariable, setProperty, setVariable

 

Methods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, invokeMethod, setMetaClass

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

DefaultCompileContext

public DefaultCompileContext(ExprDef exprDef)

DefaultCompileContext

public DefaultCompileContext(ExprDef exprDef,
                             StructureDefinition structureDefinition)

Method Detail

getExprDef

public ExprDef getExprDef()
Description copied from interface: ExprCompileContext
Return the definition of the expressio that is compiling.
Specified by:
getExprDef in interface ExprCompileContext
Specified by:
getExprDef in class AbstractCompileContext

getStructureDefinition

public StructureDefinition getStructureDefinition()
Description copied from interface: ExprCompileContext
Return the oracle.binding.meta.StructureDefnition of the compile context. For example, when compiling an entity validation rule this should return the StructureDefinition of the entity.
Specified by:
getStructureDefinition in interface ExprCompileContext
Overrides:
getStructureDefinition in class AbstractCompileContext

getGlobalOperationReturnType

public java.lang.String getGlobalOperationReturnType(java.lang.String name,
                                                     java.lang.String... argtypes)
Description copied from interface: ExprCompileContext
Return the type of the given global operations.
Specified by:
getGlobalOperationReturnType in interface ExprCompileContext
Specified by:
getGlobalOperationReturnType in class AbstractCompileContext

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.