|
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()
ExprCompileContext
getExprDef
in interface ExprCompileContext
getExprDef
in class AbstractCompileContext
public boolean canTypeCheck()
ExprCompileContext
canTypeCheck
in interface ExprCompileContext
canTypeCheck
in class AbstractCompileContext
public boolean isCodeSource()
public java.lang.String getGlobalOperationReturnType(java.lang.String name, java.lang.String... argtypes)
ExprCompileContext
getGlobalOperationReturnType
in interface ExprCompileContext
getGlobalOperationReturnType
in class AbstractCompileContext
public java.lang.String getSourceType()
AbstractCompileContext
getSourceType
in class AbstractCompileContext
public java.lang.String getSourceAttributeType(java.lang.String name)
AbstractCompileContext
getSourceAttributeType
in class AbstractCompileContext
public java.lang.String getSourcePropertyType(java.lang.String name)
AbstractCompileContext
getSourcePropertyType
in class AbstractCompileContext
public java.lang.String getSourceOperationReturnType(java.lang.String name, java.lang.String... argtypes)
AbstractCompileContext
getSourceOperationReturnType
in class AbstractCompileContext
public java.lang.String getSourceMethodReturnType(java.lang.String name, java.lang.String... argtypes)
AbstractCompileContext
getSourceMethodReturnType
in class AbstractCompileContext
public java.lang.String getNewValueType()
AbstractCompileContext
getNewValueType
in class AbstractCompileContext
public java.lang.String getOldValueType()
AbstractCompileContext
getOldValueType
in class AbstractCompileContext
public ExprCompileContext getEnclosingContext()
ExprCompileContext
This 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 ExprCompileContext
getEnclosingContext
in class AbstractCompileContext
public ExprTrustSupplier getExprTrustSupplier()
ExprCompileContext
getExprTrustSupplier
in interface ExprCompileContext
getExprTrustSupplier
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 |