| 
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.9.0) E52932-01  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
  
groovy.lang.GroovyObjectSupport
      
groovy.lang.Binding
          
oracle.jbo.AbstractCompileContext
              
oracle.jbo.server.EvaluateExprCompileContextImpl
public class EvaluateExprCompileContextImpl
A compile context that may be used during expression evaluation.
| Constructor Summary | |
|---|---|
EvaluateExprCompileContextImpl(ExprDef exprDef, java.lang.Object source, ExprValueTypeSupplier valSupplier, ExprTrustSupplier exprTrustSupplier) | 
|
| Method Summary | |
|---|---|
 boolean | 
canTypeCheck()Returns whether this compile context can be used for type checking.  | 
 ExprCompileContext | 
getEnclosingContext()Returns a compile context that should be used to resolve any types that that are defined by the enclosing variable/property/method.  | 
 ExprDef | 
getExprDef()Return the definition of the expressio that is compiling.  | 
 ExprTrustSupplier | 
getExprTrustSupplier()Return the security policiy that is associated with this context.  | 
 java.lang.String | 
getGlobalOperationReturnType(java.lang.String name, java.lang.String... argtypes)Return the type of the given global operations.  | 
 java.lang.String | 
getNewValueType()In validator contexts this returns the type of the new attribute or row.  | 
 java.lang.String | 
getOldValueType()In validator contexts this returns the type of the new attribute or row.  | 
 java.lang.String | 
getSourceAttributeType(java.lang.String name)Return the source attribute type.  | 
 java.lang.String | 
getSourceMethodReturnType(java.lang.String name, java.lang.String... argtypes)Return the return type of a source method.  | 
 java.lang.String | 
getSourceOperationReturnType(java.lang.String name, java.lang.String... argtypes)Return the return type of a source operation.  | 
 java.lang.String | 
getSourcePropertyType(java.lang.String name)Return the source property type.  | 
 java.lang.String | 
getSourceType()Return the source type of the current compile context.  | 
 boolean | 
isCodeSource() | 
| Methods inherited from class oracle.jbo.AbstractCompileContext | 
|---|
classesFor, classFor, getErrorCollector, getMethodReturnType, getPropertyType, getReturnType, getReturnType, getVariableType, isAssignableFrom, isRowAttribute, setErrorCollector | 
| 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 | 
|---|
public EvaluateExprCompileContextImpl(ExprDef exprDef,
                                      java.lang.Object source,
                                      ExprValueTypeSupplier valSupplier,
                                      ExprTrustSupplier exprTrustSupplier)
| Method Detail | 
|---|
public ExprDef getExprDef()
ExprCompileContextgetExprDef in interface ExprCompileContextgetExprDef in class AbstractCompileContextpublic boolean canTypeCheck()
ExprCompileContextcanTypeCheck in interface ExprCompileContextcanTypeCheck in class AbstractCompileContextpublic boolean isCodeSource()
public java.lang.String getGlobalOperationReturnType(java.lang.String name,
                                                     java.lang.String... argtypes)
ExprCompileContextgetGlobalOperationReturnType in interface ExprCompileContextgetGlobalOperationReturnType in class AbstractCompileContextpublic java.lang.String getSourceType()
AbstractCompileContextgetSourceType in class AbstractCompileContextpublic java.lang.String getSourceAttributeType(java.lang.String name)
AbstractCompileContextgetSourceAttributeType in class AbstractCompileContextpublic java.lang.String getSourcePropertyType(java.lang.String name)
AbstractCompileContextgetSourcePropertyType in class AbstractCompileContext
public java.lang.String getSourceOperationReturnType(java.lang.String name,
                                                     java.lang.String... argtypes)
AbstractCompileContextgetSourceOperationReturnType in class AbstractCompileContext
public java.lang.String getSourceMethodReturnType(java.lang.String name,
                                                  java.lang.String... argtypes)
AbstractCompileContextgetSourceMethodReturnType in class AbstractCompileContextpublic java.lang.String getNewValueType()
AbstractCompileContextgetNewValueType in class AbstractCompileContextpublic java.lang.String getOldValueType()
AbstractCompileContextgetOldValueType in class AbstractCompileContextpublic ExprCompileContext getEnclosingContext()
ExprCompileContextThis will be invoked once by the type checker after it resolves an unbound variable/property/method. This method may be used to pass a compile context back to the compile context that will be later used to evaluate any other types in the enclosing context.
getEnclosingContext in interface ExprCompileContextgetEnclosingContext in class AbstractCompileContextpublic ExprTrustSupplier getExprTrustSupplier()
ExprCompileContextgetExprTrustSupplier in interface ExprCompileContextgetExprTrustSupplier in class AbstractCompileContext
  | 
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.9.0) E52932-01  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||