|
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()
ExprCompileContextgetExprDef in interface ExprCompileContextgetExprDef in class AbstractCompileContextpublic StructureDefinition getStructureDefinition()
ExprCompileContextoracle.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 ExprCompileContextgetStructureDefinition in class AbstractCompileContextpublic boolean isTypeChecked()
ExprCompileContextisTypeChecked in interface ExprCompileContextisTypeChecked in class AbstractCompileContextpublic boolean isCodeSource()
public java.lang.String getMethodReturnType(java.lang.String receiver,
java.lang.String name,
java.lang.String[] argtypes,
java.lang.String[] argvals)
ExprCompileContextInvoked by the type checker if it cannot resolve the specified method.
getMethodReturnType in interface ExprCompileContextgetMethodReturnType in class AbstractCompileContext
public java.lang.String getGlobalOperationReturnType(java.lang.String name,
java.lang.String... argtypes)
ExprCompileContextgetGlobalOperationReturnType in interface ExprCompileContextgetGlobalOperationReturnType in class AbstractCompileContextprotected ExprCompileContext createExtendedType(StructureDefinition structureDefinition)
AbstractCompileContextcreateExtendedType in class AbstractCompileContextpublic java.lang.String getNewValueType()
AbstractCompileContextgetNewValueType in class AbstractCompileContextpublic java.lang.String getOldValueType()
AbstractCompileContextgetOldValueType 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.1) E67681-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||