Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.jbo.common
Class VariableManagerImpl

java.lang.Object
  extended by oracle.jbo.common.VariableManagerImpl
All Implemented Interfaces:
VariableManager
Direct Known Subclasses:
VariableValueManagerImpl

public class VariableManagerImpl
extends java.lang.Object
implements VariableManager


Field Summary
static java.lang.Class CLASS_INSTANCE
           
protected  ArrayList mVariableList
           
protected  OrderedDictionary mVariables
           
 
Constructor Summary
VariableManagerImpl()
           
VariableManagerImpl(VariableManagerOwner owner, VariableManager[] parents)
           
 
Method Summary
protected  java.lang.Object accessValue(Variable var, boolean evaluteDefaultOrExpr)
           
 Variable addVariable(java.lang.String name)
           
 void addVariable(Variable var)
           
 void addVariables(Variable[] vars)
           
 void clearVariables()
           
 Variable findDeclaredVariable(java.lang.String name)
           
 Variable findVariable(java.lang.String name)
           
 int getDeclaredVariableCount()
           
 Variable[] getDeclaredVariables()
           
 java.lang.String getName()
           
 int getVariableCount()
           
 Variable[] getVariables()
           
 java.util.Hashtable getVariablesMap()
          Returns a readonly map of all variables in this manager.
 Variable[] getVariablesOfKind(java.lang.String kind)
           
 VariableManagerOwner getVarMgrOwner()
           
 VariableManagerOwnerBase getVarMgrOwnerBase()
           
 VariableManager[] getVarMgrParents()
           
 Variable lookupVariable(java.lang.String name)
           
 void mergeVariables(Variable[] vars)
           
 Variable removeVariable(java.lang.String name)
           
 Variable replaceVariable(Variable newVar)
           
 void setVarMgrParents(VariableManager[] parents)
           
 void variableChanged(Variable var)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_INSTANCE

public static final java.lang.Class CLASS_INSTANCE

mVariables

protected OrderedDictionary mVariables

mVariableList

protected ArrayList mVariableList
Constructor Detail

VariableManagerImpl

public VariableManagerImpl()

VariableManagerImpl

public VariableManagerImpl(VariableManagerOwner owner,
                           VariableManager[] parents)
Method Detail

addVariable

public void addVariable(Variable var)
Specified by:
addVariable in interface VariableManager

addVariable

public Variable addVariable(java.lang.String name)
Specified by:
addVariable in interface VariableManager

clearVariables

public void clearVariables()
Specified by:
clearVariables in interface VariableManager

findDeclaredVariable

public Variable findDeclaredVariable(java.lang.String name)
Specified by:
findDeclaredVariable in interface VariableManager

findVariable

public Variable findVariable(java.lang.String name)
Specified by:
findVariable in interface VariableManager

getDeclaredVariableCount

public int getDeclaredVariableCount()
Specified by:
getDeclaredVariableCount in interface VariableManager

getDeclaredVariables

public Variable[] getDeclaredVariables()
Specified by:
getDeclaredVariables in interface VariableManager

getName

public java.lang.String getName()
Specified by:
getName in interface VariableManager

getVarMgrOwner

public VariableManagerOwner getVarMgrOwner()
Specified by:
getVarMgrOwner in interface VariableManager

getVarMgrParents

public VariableManager[] getVarMgrParents()
Specified by:
getVarMgrParents in interface VariableManager

getVariableCount

public int getVariableCount()
Specified by:
getVariableCount in interface VariableManager

getVariables

public Variable[] getVariables()
Specified by:
getVariables in interface VariableManager

getVariablesMap

public java.util.Hashtable getVariablesMap()
Description copied from interface: VariableManager
Returns a readonly map of all variables in this manager.

Specified by:
getVariablesMap in interface VariableManager

getVariablesOfKind

public Variable[] getVariablesOfKind(java.lang.String kind)
Specified by:
getVariablesOfKind in interface VariableManager

lookupVariable

public Variable lookupVariable(java.lang.String name)
Specified by:
lookupVariable in interface VariableManager

mergeVariables

public void mergeVariables(Variable[] vars)
Specified by:
mergeVariables in interface VariableManager

removeVariable

public Variable removeVariable(java.lang.String name)
Specified by:
removeVariable in interface VariableManager

replaceVariable

public Variable replaceVariable(Variable newVar)
Specified by:
replaceVariable in interface VariableManager

variableChanged

public void variableChanged(Variable var)
Specified by:
variableChanged in interface VariableManager

accessValue

protected java.lang.Object accessValue(Variable var,
                                       boolean evaluteDefaultOrExpr)

setVarMgrParents

public void setVarMgrParents(VariableManager[] parents)

getVarMgrOwnerBase

public VariableManagerOwnerBase getVarMgrOwnerBase()
Specified by:
getVarMgrOwnerBase in interface VariableManager

addVariables

public void addVariables(Variable[] vars)
Specified by:
addVariables in interface VariableManager

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.