Skip navigation links
oracle.jbo.common
Class DefaultCompileContext
java.lang.Object
groovy.lang.GroovyObjectSupport
groovy.lang.Binding
oracle.jbo.AbstractCompileContext
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.
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 |
DefaultCompileContext
public DefaultCompileContext(ExprDef exprDef)
DefaultCompileContext
public DefaultCompileContext(ExprDef exprDef,
StructureDefinition structureDefinition)
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
Copyright © 1997, 2016, Oracle. All rights reserved.