Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.9.1)

E67681-01


oracle.jbo
Class AbstractCompileContext.UntypedExtendedType

java.lang.Object
  extended by groovy.lang.GroovyObjectSupport
      extended by groovy.lang.Binding
          extended by oracle.jbo.AbstractCompileContext
              extended by oracle.jbo.AbstractCompileContext.UntypedExtendedType

All Implemented Interfaces:
groovy.lang.GroovyObject, ExprCompileContext
Enclosing class:
AbstractCompileContext

public class AbstractCompileContext.UntypedExtendedType
extends AbstractCompileContext

Nested Class Summary

 

Nested classes/interfaces inherited from class oracle.jbo.AbstractCompileContext
AbstractCompileContext.UntypedExtendedType

 

Field Summary
static int ALLOW_METHODS_FLAG
           
static int ALLOW_PROPERTIES_FLAG
           

 

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
protected AbstractCompileContext.UntypedExtendedType()
           
protected AbstractCompileContext.UntypedExtendedType(int flags)
           

 

Method Summary
 ExprDef getExprDef()
          Return the definition of the expressio that is compiling.
 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.
 java.lang.String getPropertyType(java.lang.String objectType, java.lang.String name)
          Return the type of the given property.
 StructureDefinition getStructureDefinition()
          Return the oracle.binding.meta.StructureDefnition of the compile context.
 boolean isTypeChecked()
          Returns whether type checking should be performed in this compile context.

 

Methods inherited from class oracle.jbo.AbstractCompileContext
classesFor, classFor, createExtendedType, createUntypedExtendedType, getCurrentASTNode, getCurrentNode, getErrorCollector, getExprTrustSupplier, getExtendedType, getReturnType, getReturnType, getSourceAttributeType, getSourceMethodReturnType, getSourceOperationReturnType, getSourcePropertyType, getSourceType, getVariableType, isAssignableFrom, isMandatoryAttribute, isRowAttribute, 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

 

Field Detail

ALLOW_METHODS_FLAG

public static final int ALLOW_METHODS_FLAG
See Also:
Constant Field Values

ALLOW_PROPERTIES_FLAG

public static final int ALLOW_PROPERTIES_FLAG
See Also:
Constant Field Values

Constructor Detail

AbstractCompileContext.UntypedExtendedType

protected AbstractCompileContext.UntypedExtendedType(int flags)

AbstractCompileContext.UntypedExtendedType

protected AbstractCompileContext.UntypedExtendedType()

Method Detail

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

isTypeChecked

public boolean isTypeChecked()
Description copied from interface: ExprCompileContext
Returns whether type checking should be performed in this compile context.
Specified by:
isTypeChecked in interface ExprCompileContext
Overrides:
isTypeChecked in class AbstractCompileContext

getPropertyType

public java.lang.String getPropertyType(java.lang.String objectType,
                                        java.lang.String name)
Description copied from interface: ExprCompileContext
Return the type of the given property.

Invoked by the type checker if it cannot resolve the specifid property.

Specified by:
getPropertyType in interface ExprCompileContext
Overrides:
getPropertyType in class AbstractCompileContext

getMethodReturnType

public java.lang.String getMethodReturnType(java.lang.String receiver,
                                            java.lang.String name,
                                            java.lang.String[] argtypes,
                                            java.lang.String[] argvals)
Description copied from interface: ExprCompileContext
Return the return type of the given method.

Invoked by the type checker if it cannot resolve the specified method.

Specified by:
getMethodReturnType in interface ExprCompileContext
Overrides:
getMethodReturnType 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

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

getNewValueType

public java.lang.String getNewValueType()
Description copied from class: AbstractCompileContext
In validator contexts this returns the type of the new attribute or row.
Overrides:
getNewValueType in class AbstractCompileContext

getOldValueType

public java.lang.String getOldValueType()
Description copied from class: AbstractCompileContext
In validator contexts this returns the type of the new attribute or row.
Overrides:
getOldValueType in class AbstractCompileContext

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.9.1)

E67681-01


Copyright © 1997, 2016, Oracle. All rights reserved.