Skip navigation links

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

E10653-10


oracle.jbo.common
Class ExpressionDef

java.lang.Object
  extended by oracle.jbo.common.NamedObjectImpl
      extended by oracle.jbo.mom.DefinitionObject
          extended by oracle.jbo.mom.PersistableDefObject
              extended by oracle.jbo.common.ExpressionDef

All Implemented Interfaces:
java.io.Serializable, ExprDef, DefPersistable, PersistentDefinition, DebugExprDef

public class ExpressionDef
extends PersistableDefObject
implements java.io.Serializable, ExprDef, DebugExprDef
See Also:
Serialized Form

Nested Class Summary
static class ExpressionDef.OwnerType
          Deprecated.  

 

Nested classes/interfaces inherited from class oracle.jbo.mom.PersistableDefObject
PersistableDefObject.CustomizationType, PersistableDefObject.PersonalizationType

 

Field Summary
static int RESERVED_EXPR_PREAMBLE_LINES
          Deprecated.  

 

Fields inherited from class oracle.jbo.mom.PersistableDefObject
mEditedProperties, mEditedPropertyExprs

 

Fields inherited from class oracle.jbo.mom.DefinitionObject
DEF_MDS_CLIENT_KEY, DEF_SCOPE_ALL, DEF_SCOPE_PERS, DEF_SCOPE_SESSION, DEF_SCOPE_SHARED, mBaseDefObject, mExtendedDefObjects, mObjectResolved, PERSDEF_MDS_CLIENT_KEY, PROPERTY_EXPRMAP

 

Fields inherited from class oracle.jbo.common.NamedObjectImpl
mFullName, mObjName, mParent, mProperties, RES_ID_SUFFIX

 

Fields inherited from interface oracle.jbo.mom.xml.DefPersistable
XML_STATEMENT

 

Constructor Summary
ExpressionDef(NamedObjectImpl parent, ExpressionDef def)
          Deprecated. since 11.1.4.0 Applications should not be using this class.
ExpressionDef(NamedObjectImpl parent, java.lang.String expr)
           
ExpressionDef(NamedObjectImpl parent, java.lang.String expr, java.lang.String name)
          Deprecated. since 11.1.4.0 Applications should not be using this class.
ExpressionDef(NamedObjectImpl parent, java.lang.String expr, java.lang.String name, java.lang.String priv)
          Deprecated. since 11.1.4.0 Applications should not be using this class.
ExpressionDef(NamedObjectImpl parent, java.lang.String expr, java.lang.String name, java.lang.String priv, java.lang.Boolean hasReturn)
          Deprecated. since 11.1.4.0 Applications should not be using this class.
ExpressionDef(NamedObjectImpl parent, java.lang.String expr, java.lang.String name, java.lang.String priv, java.lang.Boolean hasReturn, ExpressionDef.OwnerType ownerType)
          Deprecated. since 11.1.4.0 Applications should not be using this class.
ExpressionDef(java.lang.String name, java.lang.String expr)
          Deprecated. Applications should not be using this class

 

Method Summary
 java.util.LinkedHashMap getAttributesMap()
          Deprecated. since 11.1.4.0 Applications should not be using this class.
 java.lang.String getCacheKey(java.lang.String exprStr)
          The key to be used for caching compiled expression instances.
 java.lang.String getDebugAttrName()
          Return the attribute name of the expression owner.
 java.lang.String getDebugComponentName()
          Return the component name of the expression owner.
 java.lang.String getDebugExpressionSource()
          Return the version of the source that should be displayed in the debugger.
 int getDebugOffset()
          Return the offset of the start of the debug source in the containing ExprDef::ExpressionSource.
 java.lang.String getDebugTriggerName()
          Return the name of the trigger or validation rule of the expression.
 java.lang.String getDisplayName()
          Deprecated.  
 java.lang.String getEvalId()
          Deprecated. Internal framework use only.
 ExprEval getEvaluator()
          Deprecated. since 11.1.4.0 Applications should not be using this class.
 java.lang.String getExpression()
          Deprecated. since 11.1.4.0 Applications should not be using this class.
 java.lang.String getExpressionSource()
          The source string of the expression.
 java.lang.String getExprIdentifier()
          A unique identfier for the expression.
 java.lang.String getFullName()
          Deprecated.  
 java.util.List<java.lang.String> getImplicitVariableNames()
          Return a list of implicit variable names.
 java.lang.String getInternalExpression()
          Deprecated. Internal framework use only.
 java.lang.String getName()
          Deprecated. since 11.1.4.0 Applications should not be using this class.
 java.lang.String getOwnerName()
          Deprecated.  
 ExpressionDef.OwnerType getOwnerType()
          Deprecated.  
 ExprEval.Privilege getPrivilege()
          Deprecated. since 11.1.4.0 Applications should not be using this class.
 java.lang.String getPrivilegeString()
          Deprecated. since 11.1.4.0 Applications should not be using this class.
 java.lang.String getScriptClassName(java.lang.String exprStr)
          Returns the name used for the expression class.
 ExprEval.TrustMode getTrustMode()
          Deprecated.  
 java.lang.String getTrustModeString()
          Deprecated.  
 boolean hasReturn()
          Deprecated. since 11.1.4.0 Applications should not be using this class.
 boolean isOperationsExpression()
          If the expression defines operations.
 void setHasReturn(boolean ret)
          Deprecated. since 11.1.4.0 Applications should not be using this class.
 void setOwnerType(ExpressionDef.OwnerType type)
          Deprecated.  
 void setPrivilege(ExprEval.Privilege priv)
          Deprecated. since 11.1.4.0 Applications should not be using this class.
 void setTrustMode(ExprEval.TrustMode trusted)
          Deprecated.  
 java.lang.String toString()
           
 void useEvaluator(ExprEval eval)
          Deprecated. since 11.1.4.0 Applications should not be using this class.

 

Methods inherited from class oracle.jbo.mom.PersistableDefObject
addDefImport, addExtendedDefObject, adjustPropertyMapForWrite, allocatePropertyMap, allocatePropertyMapForEdits, checkEditable, close, createFromXML, deregisterSessionObject, findDefImport, finishedLoading, getBaseDir, getBasePackage, getDefImports, getDefManager, getDefWriter, getDefXMLElementTag, getDefXMLNameSpace, getEditedPropertiesMap, getEditedPropertyExpressionsMap, getEditedPropertyMap, getEditObject, getExtendedDefObjectsInternal, getFileName, getFullDirName, getFullFileName, getOrigObject, getPropertyMap, getSubstitutedNames, getSyncLock, getXMLElementTag, guaranteePath, hasExtendedDefObjects, isCustomizationEnabled, isCustomizationEnabled, isDirty, isEditable, isNew, isPersonalizationEnabled, isPersonalizationEnabled, isPropertyExpression, loadDefImports, loadXMLContents, mergePropertyMap, objectRemoved, reapplyChanges, reapplyChangesToChildren, reapplyChangesToContents, registerClass, registerDefObject, registerSessionDefObject, remove, removeAndDelete, removeDefImport, removeExtendedDefObject, removeProperty, saveXMLContents, setCustomizationEnabled, setCustomizationEnabled, setDefaultBaseDir, setDefMgr, setDirty, setEditable, setNew, setOrigObject, setPersonalizationEnabled, setPersonalizationEnabled, setProperty, setPropertyExpression, setPropertyMap, updateChildrenList, verifyVersion, writeChildren, writeContents, writeObject, writeVersion, writeXMLContents

 

Methods inherited from class oracle.jbo.mom.DefinitionObject
addPropertySetName, enableUpdateCheck, getAllExtendedDefObjects, getBaseDefObject, getContainerDef, getContainerName, getDefinitionState, getDefScope, getExtendedDefObjects, getMdsKey, getMdsReference, getPropertySetName, getPropertySetNames, isBaseDefFor, isDeprecated, isDynamicDefinitionObject, isObjectResolved, isSuppressUpdateCheck, loadCustomProperties, loadProperties, loadPropertiesInMap, loadPropertySetNames, loadSchemaProperties, resolveReferences, setBaseDefObject, setBaseDefObject, setDefScope, setMdsKey, setMdsReference, setName, setObjectResolved, setParent, setPropertySetName, suppressUpdateCheck

 

Methods inherited from class oracle.jbo.common.NamedObjectImpl
getAllProperties, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getProperty, getPropertyExpressionsMap, getRawPropertyValue, getResourcesFromBundle, getStringFromMessageBundle, refreshProperty, removeProperty, requiresNamePrefixedResId, resolveObjectProperty, resolvePropertyRaw, setFullName, setPropertiesMap, setPropertiesMap2, setProperty

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

RESERVED_EXPR_PREAMBLE_LINES

public static final int RESERVED_EXPR_PREAMBLE_LINES
Deprecated. 
For internal framework use only
See Also:
Constant Field Values
For internal use only. Application developers should not use this

Constructor Detail

ExpressionDef

public ExpressionDef(NamedObjectImpl parent,
                     java.lang.String expr,
                     java.lang.String name,
                     java.lang.String priv,
                     java.lang.Boolean hasReturn,
                     ExpressionDef.OwnerType ownerType)
Deprecated. since 11.1.4.0 Applications should not be using this class.
For internal use only. Application developers should not use this

ExpressionDef

public ExpressionDef(NamedObjectImpl parent,
                     java.lang.String expr,
                     java.lang.String name,
                     java.lang.String priv,
                     java.lang.Boolean hasReturn)
Deprecated. since 11.1.4.0 Applications should not be using this class.
For internal use only. Application developers should not use this

ExpressionDef

public ExpressionDef(NamedObjectImpl parent,
                     java.lang.String expr,
                     java.lang.String name,
                     java.lang.String priv)
Deprecated. since 11.1.4.0 Applications should not be using this class.
For internal use only. Application developers should not use this

ExpressionDef

public ExpressionDef(NamedObjectImpl parent,
                     java.lang.String expr,
                     java.lang.String name)
Deprecated. since 11.1.4.0 Applications should not be using this class.
For internal use only. Application developers should not use this

ExpressionDef

public ExpressionDef(NamedObjectImpl parent,
                     ExpressionDef def)
Deprecated. since 11.1.4.0 Applications should not be using this class.
For internal use only. Application developers should not use this

ExpressionDef

public ExpressionDef(NamedObjectImpl parent,
                     java.lang.String expr)
For internal use only. Application developers should not use this

ExpressionDef

public ExpressionDef(java.lang.String name,
                     java.lang.String expr)
Deprecated. Applications should not be using this class
For internal use only. Application developers should not use this

Method Detail

getExpressionSource

public java.lang.String getExpressionSource()
Description copied from interface: ExprDef
The source string of the expression.
Specified by:
getExpressionSource in interface ExprDef

getExprIdentifier

public java.lang.String getExprIdentifier()
Description copied from interface: ExprDef
A unique identfier for the expression.
Specified by:
getExprIdentifier in interface ExprDef

getCacheKey

public java.lang.String getCacheKey(java.lang.String exprStr)
Description copied from interface: ExprDef
The key to be used for caching compiled expression instances.
Specified by:
getCacheKey in interface ExprDef

getScriptClassName

public java.lang.String getScriptClassName(java.lang.String exprStr)
Description copied from interface: ExprDef
Returns the name used for the expression class.
Specified by:
getScriptClassName in interface ExprDef

isOperationsExpression

public boolean isOperationsExpression()
Description copied from interface: ExprDef
If the expression defines operations.
Specified by:
isOperationsExpression in interface ExprDef

getEvaluator

public ExprEval getEvaluator()
Deprecated. since 11.1.4.0 Applications should not be using this class.
For internal use only. Application developers should not use this

useEvaluator

public void useEvaluator(ExprEval eval)
Deprecated. since 11.1.4.0 Applications should not be using this class.
For internal use only. Application developers should not use this

getExpression

public java.lang.String getExpression()
Deprecated. since 11.1.4.0 Applications should not be using this class.
For internal use only. Application developers should not use this

getInternalExpression

public java.lang.String getInternalExpression()
Deprecated. Internal framework use only.
For internal use only. Application developers should not use this

getEvalId

public java.lang.String getEvalId()
Deprecated. Internal framework use only.
For internal use only. Application developers should not use this

getName

public java.lang.String getName()
Deprecated. since 11.1.4.0 Applications should not be using this class.
Description copied from class: NamedObjectImpl
Get the name of this object.
Overrides:
getName in class NamedObjectImpl
Returns:
the name given to this object.
For internal use only. Application developers should not use this

setHasReturn

public void setHasReturn(boolean ret)
Deprecated. since 11.1.4.0 Applications should not be using this class.
For internal use only. Application developers should not use this

hasReturn

public boolean hasReturn()
Deprecated. since 11.1.4.0 Applications should not be using this class.
Description copied from interface: ExprDef
If the expression has a return value.
Specified by:
hasReturn in interface ExprDef
For internal use only. Application developers should not use this

getFullName

public java.lang.String getFullName()
Deprecated. 
Description copied from class: NamedObjectImpl
Gets this object's fully-qualified name.
Specified by:
getFullName in interface DefPersistable
Overrides:
getFullName in class NamedObjectImpl
Returns:
this object's fully-qualified name; the package name concatenated with the class name.
For internal use only. Application developers should not use this

setPrivilege

public void setPrivilege(ExprEval.Privilege priv)
Deprecated. since 11.1.4.0 Applications should not be using this class.
For internal use only. Application developers should not use this

getPrivilege

public ExprEval.Privilege getPrivilege()
Deprecated. since 11.1.4.0 Applications should not be using this class.
For internal use only. Application developers should not use this

getPrivilegeString

public java.lang.String getPrivilegeString()
Deprecated. since 11.1.4.0 Applications should not be using this class.
For internal use only. Application developers should not use this

setTrustMode

public void setTrustMode(ExprEval.TrustMode trusted)
Deprecated. 
For internal use only. Application developers should not use this

getTrustMode

public ExprEval.TrustMode getTrustMode()
Deprecated. 
Description copied from interface: ExprDef
The trust mode for the expression.
Specified by:
getTrustMode in interface ExprDef
For internal use only. Application developers should not use this

getTrustModeString

public java.lang.String getTrustModeString()
Deprecated. 
For internal use only. Application developers should not use this

getOwnerType

public ExpressionDef.OwnerType getOwnerType()
Deprecated. 
Description copied from interface: DebugExprDef
Return the type of the expression owner. See oracle.jbo.common.ExpressionDef#OwnerType for a list of possible owners. Operations are always either a GlobalFunction or a LocalFunction.
Specified by:
getOwnerType in interface DebugExprDef
For internal use only. Application developers should not use this

getOwnerName

public java.lang.String getOwnerName()
Deprecated. 
For internal use only. Application developers should not use this

getDisplayName

public java.lang.String getDisplayName()
Deprecated. 
For internal use only. Application developers should not use this

setOwnerType

public void setOwnerType(ExpressionDef.OwnerType type)
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

getAttributesMap

public java.util.LinkedHashMap getAttributesMap()
Deprecated. since 11.1.4.0 Applications should not be using this class.
For internal use only. Application developers should not use this

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getImplicitVariableNames

public java.util.List<java.lang.String> getImplicitVariableNames()
Description copied from interface: DebugExprDef
Return a list of implicit variable names. The implicit variable names will appear in the debugger as variables of the expression's operation.
Specified by:
getImplicitVariableNames in interface DebugExprDef

getDebugComponentName

public java.lang.String getDebugComponentName()
Description copied from interface: DebugExprDef
Return the component name of the expression owner. The component name is typically a ViewObject or Entity name.
Specified by:
getDebugComponentName in interface DebugExprDef

getDebugAttrName

public java.lang.String getDebugAttrName()
Description copied from interface: DebugExprDef
Return the attribute name of the expression owner. If this is not an attribute expression return null. Operations always return null.
Specified by:
getDebugAttrName in interface DebugExprDef

getDebugTriggerName

public java.lang.String getDebugTriggerName()
Description copied from interface: DebugExprDef
Return the name of the trigger or validation rule of the expression. Operations always return null.
Specified by:
getDebugTriggerName in interface DebugExprDef

getDebugExpressionSource

public java.lang.String getDebugExpressionSource()
Description copied from interface: DebugExprDef
Return the version of the source that should be displayed in the debugger. The debugger source should only contain the expression body. The details of how operations are organized are hidden from the debugger user.
Specified by:
getDebugExpressionSource in interface DebugExprDef

getDebugOffset

public int getDebugOffset()
Description copied from interface: DebugExprDef
Return the offset of the start of the debug source in the containing ExprDef::ExpressionSource.
Specified by:
getDebugOffset in interface DebugExprDef

Skip navigation links

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

E10653-10


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