|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.9.0) E52932-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.jbo.common.VariableManagerImpl
oracle.jbo.common.VariableValueManagerImpl
public class VariableValueManagerImpl
Field Summary |
---|
Fields inherited from class oracle.jbo.common.VariableManagerImpl |
---|
mVariableList, mVariables |
Constructor Summary | |
---|---|
VariableValueManagerImpl() |
|
VariableValueManagerImpl(VariableManagerOwnerBase owner, VariableManager[] varMgrParents) |
|
VariableValueManagerImpl(VariableManagerOwner owner, VariableManager[] varMgrParents) |
Method Summary | |
---|---|
void |
activatePassivatedVariables(java.lang.String passivatedString) Used internally by the framework to reinstate the passivation image without causing any ripples in either the validation or notifications. |
java.lang.Object |
clearValue(java.lang.String name) There is a wrinkle when you replace a variable. |
java.lang.Object |
clearValue(Variable v) Revert the value of the variable back to it's default. |
java.lang.String |
getLocalPassivatableVariables() Used internally by the framework to gather up all variable state that isn't reconstructed by simply resetting from definitions. |
java.lang.String |
getPassivatableVariables() Ask the ValueManager to build a package to passivate then do the work with the object stream to get the blob as a fairly compact string to return. |
java.lang.Object |
getVariableValue(java.lang.String name) |
java.lang.Object |
getVariableValue(Variable var) |
java.lang.Object |
getVariableValueRaw(java.lang.String name, boolean evaluateDefaultOrExpr) |
java.lang.Object |
getVariableValueRaw(Variable var, boolean evaluateDefaultOrExpr) |
java.lang.Object[] |
getVariableValues(Variable[] vars) |
java.lang.Object[] |
getVariableValuesRaw(Variable[] vars, boolean evaluateDefaultOrExpr) |
boolean |
hasVariableValue(java.lang.String name) |
boolean |
hasVariableValue(Variable var) |
void |
mergeVariableValues(Variable[] vars, java.lang.Object[] varVals) |
protected void |
populateVariableValue(Variable var, java.lang.Object value) |
void |
readVarsFromXML(Element varsElem) Reads all the variables from the XML element and sets them into this variable manager. |
Variable |
removeVariable(java.lang.String name) |
void |
setVariableValue(java.lang.String name, java.lang.Object value) |
void |
setVariableValue(Variable var, java.lang.Object value) |
void |
setVariableValues(Variable[] vars, java.lang.Object[] varVals) |
void |
setVariableValues(Variable[] vars, java.lang.Object[] varVals, boolean inclTemp) |
void |
setVariableValuesFrom(VariableValueManager vm) |
boolean |
writeVarsToXML(Document xmlDoc, Element parent, boolean local) Writes XML elements for all variables in this variable manager and appends them to the given parent node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.jbo.VariableManager |
---|
addVariable, addVariable, addVariables, clearVariables, findDeclaredVariable, findVariable, getDeclaredVariableCount, getDeclaredVariables, getName, getVariableCount, getVariables, getVariablesMap, getVariablesOfKind, getVarMgrOwner, getVarMgrOwnerBase, getVarMgrParents, lookupVariable, mergeVariables, replaceVariable, variableChanged |
Constructor Detail |
---|
public VariableValueManagerImpl()
public VariableValueManagerImpl(VariableManagerOwner owner, VariableManager[] varMgrParents)
public VariableValueManagerImpl(VariableManagerOwnerBase owner, VariableManager[] varMgrParents)
Method Detail |
---|
public boolean hasVariableValue(Variable var)
hasVariableValue
in interface VariableValueManager
public boolean hasVariableValue(java.lang.String name)
hasVariableValue
in interface VariableValueManager
public java.lang.Object[] getVariableValues(Variable[] vars)
getVariableValues
in interface VariableValueManager
public java.lang.Object[] getVariableValuesRaw(Variable[] vars, boolean evaluateDefaultOrExpr)
getVariableValuesRaw
in interface VariableValueManager
public java.lang.Object getVariableValue(Variable var)
getVariableValue
in interface VariableValueManager
public java.lang.Object getVariableValue(java.lang.String name)
getVariableValue
in interface VariableValueManager
public java.lang.Object getVariableValueRaw(Variable var, boolean evaluateDefaultOrExpr)
getVariableValueRaw
in interface VariableValueManager
public java.lang.Object getVariableValueRaw(java.lang.String name, boolean evaluateDefaultOrExpr)
getVariableValueRaw
in interface VariableValueManager
protected void populateVariableValue(Variable var, java.lang.Object value)
public void setVariableValue(Variable var, java.lang.Object value)
setVariableValue
in interface VariableValueManager
public void setVariableValue(java.lang.String name, java.lang.Object value)
setVariableValue
in interface VariableValueManager
public void setVariableValues(Variable[] vars, java.lang.Object[] varVals)
setVariableValues
in interface VariableValueManager
public void setVariableValues(Variable[] vars, java.lang.Object[] varVals, boolean inclTemp)
public void setVariableValuesFrom(VariableValueManager vm)
setVariableValuesFrom
in interface VariableValueManager
public Variable removeVariable(java.lang.String name)
removeVariable
in interface VariableManager
removeVariable
in class VariableManagerImpl
public void mergeVariableValues(Variable[] vars, java.lang.Object[] varVals)
mergeVariableValues
in interface VariableValueManager
public java.lang.Object clearValue(java.lang.String name)
clearValue
in interface VariableValueManager
public java.lang.Object clearValue(Variable v)
VariableValueManager
clearValue
in interface VariableValueManager
public java.lang.String getPassivatableVariables()
getPassivatableVariables
in interface VariableValueManager
public java.lang.String getLocalPassivatableVariables()
VariableValueManager
getLocalPassivatableVariables
in interface VariableValueManager
public void activatePassivatedVariables(java.lang.String passivatedString)
VariableValueManager
activatePassivatedVariables
in interface VariableValueManager
public boolean writeVarsToXML(Document xmlDoc, Element parent, boolean local)
VariableValueManager
writeVarsToXML
in interface VariableValueManager
xmlDoc
- the XML document in which the variables should be passivatedparent
- the enclosing XML node where new nodes will be appendedlocal
- if true
do not recurse the parent variable managerstrue
if variable nodes were appended to the parent node.VariableValueManager.readVarsFromXML(Element)
public void readVarsFromXML(Element varsElem)
VariableValueManager
readVarsFromXML
in interface VariableValueManager
varsElem
- an XML node containing the passivated variablesVariableValueManager.writeVarsToXML(Document, Element, boolean)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.9.0) E52932-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |