Skip navigation links

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

E10653-06


oracle.jbo.common
Class VariableManagerImpl

java.lang.Object
  extended by oracle.jbo.common.VariableManagerImpl

All Implemented Interfaces:
java.io.Serializable, VariableManager
Direct Known Subclasses:
VariableValueManagerImpl

public class VariableManagerImpl
extends java.lang.Object
implements VariableManager, java.io.Serializable
See Also:
Serialized Form

Field Summary
protected  java.util.ArrayList mVariableList
           
protected  java.util.HashMap mVariables
           

 

Constructor Summary
VariableManagerImpl()
           
VariableManagerImpl(VariableManagerOwnerBase owner, VariableManager[] varMgrParents)
           
VariableManagerImpl(VariableManagerOwner owner, VariableManager[] varMgrParents)
           

 

Method Summary
 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.Map getVariablesMap()
          Returns a readonly map of all variables in this manager.
 Variable[] getVariablesOfKind(java.lang.String kind)
           
 VariableManagerOwner getVarMgrOwner()
          Deprecated. use getVarMgrOwnerBase() instead.
 VariableManagerOwnerBase getVarMgrOwnerBase()
           
 VariableManager[] getVarMgrParents()
           
protected  VariableImpl internalCreateVariableInstance()
          *** For internal framework use only ***
 void loadFromXML(DefElement[] xmlElements)
          *** For internal framework use only ***
 void loadFromXML(DefElement[] xmlElements, boolean validators)
          *** For internal framework use only ***
 Variable lookupDeclaredVariable(java.lang.String name)
           
 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)
          *** For internal framework use only ***
protected  java.util.List variableList()
           
protected  java.util.Map variables()
           

 

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

 

Field Detail

mVariables

protected java.util.HashMap mVariables

mVariableList

protected java.util.ArrayList mVariableList

Constructor Detail

VariableManagerImpl

public VariableManagerImpl()

VariableManagerImpl

public VariableManagerImpl(VariableManagerOwner owner,
                           VariableManager[] varMgrParents)

VariableManagerImpl

public VariableManagerImpl(VariableManagerOwnerBase owner,
                           VariableManager[] varMgrParents)

Method Detail

variables

protected java.util.Map variables()

variableList

protected java.util.List variableList()

getName

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

getVarMgrOwner

public VariableManagerOwner getVarMgrOwner()
Deprecated. use getVarMgrOwnerBase() instead.
Specified by:
getVarMgrOwner in interface VariableManager

getVarMgrOwnerBase

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

getVarMgrParents

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

setVarMgrParents

public void setVarMgrParents(VariableManager[] parents)

getVariablesMap

public java.util.Map getVariablesMap()
Returns a readonly map of all variables in this manager.
Specified by:
getVariablesMap in interface VariableManager

getVariables

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

getVariablesOfKind

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

getVariableCount

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

getDeclaredVariables

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

getDeclaredVariableCount

public int getDeclaredVariableCount()
Specified by:
getDeclaredVariableCount 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

lookupDeclaredVariable

public Variable lookupDeclaredVariable(java.lang.String name)

lookupVariable

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

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

replaceVariable

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

removeVariable

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

clearVariables

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

addVariables

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

mergeVariables

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

internalCreateVariableInstance

protected VariableImpl internalCreateVariableInstance()
*** For internal framework use only ***

loadFromXML

public void loadFromXML(DefElement[] xmlElements)
*** For internal framework use only ***

loadFromXML

public void loadFromXML(DefElement[] xmlElements,
                        boolean validators)
*** For internal framework use only ***

variableChanged

public void variableChanged(Variable var)
*** For internal framework use only ***
Specified by:
variableChanged in interface VariableManager

Skip navigation links

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

E10653-06


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