Skip navigation links
oracle.jbo
Class AbstractCompileContext.UntypedExtendedType
java.lang.Object
groovy.lang.GroovyObjectSupport
groovy.lang.Binding
oracle.jbo.AbstractCompileContext
oracle.jbo.AbstractCompileContext.UntypedExtendedType
- All Implemented Interfaces:
- groovy.lang.GroovyObject, ExprCompileContext
- Enclosing class:
- AbstractCompileContext
-
public class AbstractCompileContext.UntypedExtendedType
- extends AbstractCompileContext
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 |
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
AbstractCompileContext.UntypedExtendedType
protected AbstractCompileContext.UntypedExtendedType(int flags)
AbstractCompileContext.UntypedExtendedType
protected AbstractCompileContext.UntypedExtendedType()
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
Copyright © 1997, 2016, Oracle. All rights reserved.