|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.9.1) E67681-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.
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 | |
---|---|
EvaluateExprCompileContextImpl(ExprDef exprDef, java.lang.Object source, ExprValueTypeSupplier valSupplier, ExprTrustSupplier exprTrustSupplier) |
Method Summary | |
---|---|
protected ExprCompileContext |
createExtendedType(StructureDefinition structureDefinition) Creates a new compile context for the specified structureDefinition. |
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 |
getMethodReturnType(java.lang.String receiver, java.lang.String name, java.lang.String[] argtypes, java.lang.String[] argvals) Return the return type of the given method. |
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. |
StructureDefinition |
getStructureDefinition() Return the oracle.binding.meta.StructureDefnition of the compile context. |
boolean |
isCodeSource() |
boolean |
isTypeChecked() Returns whether type checking should be performed in this compile context. |
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 StructureDefinition getStructureDefinition()
ExprCompileContext
oracle.binding.meta.StructureDefnition
of the compile context. For example, when compiling an entity validation rule this should return the StructureDefinition of the entity.getStructureDefinition
in interface ExprCompileContext
getStructureDefinition
in class AbstractCompileContext
public boolean isTypeChecked()
ExprCompileContext
isTypeChecked
in interface ExprCompileContext
isTypeChecked
in class AbstractCompileContext
public boolean isCodeSource()
public java.lang.String getMethodReturnType(java.lang.String receiver, java.lang.String name, java.lang.String[] argtypes, java.lang.String[] argvals)
ExprCompileContext
Invoked by the type checker if it cannot resolve the specified method.
getMethodReturnType
in interface ExprCompileContext
getMethodReturnType
in class AbstractCompileContext
public java.lang.String getGlobalOperationReturnType(java.lang.String name, java.lang.String... argtypes)
ExprCompileContext
getGlobalOperationReturnType
in interface ExprCompileContext
getGlobalOperationReturnType
in class AbstractCompileContext
protected ExprCompileContext createExtendedType(StructureDefinition structureDefinition)
AbstractCompileContext
createExtendedType
in class AbstractCompileContext
public java.lang.String getNewValueType()
AbstractCompileContext
getNewValueType
in class AbstractCompileContext
public java.lang.String getOldValueType()
AbstractCompileContext
getOldValueType
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.1) E67681-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |