|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.4.0) E10653-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VariableValueManager
Manages named variables and their values.
Method Summary | |
---|---|
void |
activatePassivatedVariables(java.lang.String passivatedString)
Deprecated. Replaced by readVarsFromXML(org.w3c.dom.Element) |
java.lang.Object |
clearValue(java.lang.String name)
Revert the value of the variable back to it's default. |
java.lang.Object |
clearValue(Variable var)
Revert the value of the variable back to it's default. |
java.lang.String |
getLocalPassivatableVariables()
Deprecated. Replaced by writeVarsToXML(Document, Element, boolean) |
java.lang.String |
getPassivatableVariables()
Deprecated. Replaced by writeVarsToXML(Document, Element, boolean) |
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)
|
void |
readVarsFromXML(Element varsElem)
Reads all the variables from the XML element and sets them into this variable manager. |
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 |
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 interface oracle.jbo.VariableManager |
---|
addVariable, addVariable, addVariables, clearVariables, findDeclaredVariable, findVariable, getDeclaredVariableCount, getDeclaredVariables, getName, getVariableCount, getVariables, getVariablesMap, getVariablesOfKind, getVarMgrOwner, getVarMgrOwnerBase, getVarMgrParents, lookupVariable, mergeVariables, removeVariable, replaceVariable, variableChanged |
Method Detail |
---|
boolean hasVariableValue(Variable var)
boolean hasVariableValue(java.lang.String name)
java.lang.Object getVariableValue(Variable var)
java.lang.Object getVariableValue(java.lang.String name)
java.lang.Object getVariableValueRaw(Variable var, boolean evaluateDefaultOrExpr)
java.lang.Object getVariableValueRaw(java.lang.String name, boolean evaluateDefaultOrExpr)
java.lang.Object[] getVariableValues(Variable[] vars)
java.lang.Object[] getVariableValuesRaw(Variable[] vars, boolean evaluateDefaultOrExpr)
void setVariableValue(Variable var, java.lang.Object value)
void setVariableValue(java.lang.String name, java.lang.Object value)
void setVariableValues(Variable[] vars, java.lang.Object[] varVals)
void setVariableValuesFrom(VariableValueManager vm)
void mergeVariableValues(Variable[] vars, java.lang.Object[] varVals)
java.lang.Object clearValue(java.lang.String name)
NoDefException
- if the name doesn't refer to an existing variablejava.lang.Object clearValue(Variable var)
@Deprecated java.lang.String getPassivatableVariables()
writeVarsToXML(Document, Element, boolean)
@Deprecated java.lang.String getLocalPassivatableVariables()
writeVarsToXML(Document, Element, boolean)
@Deprecated void activatePassivatedVariables(java.lang.String passivatedString)
readVarsFromXML(org.w3c.dom.Element)
boolean writeVarsToXML(Document xmlDoc, Element parent, boolean local)
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
managers
true
if variable nodes were appended to the parent
node.readVarsFromXML(Element)
void readVarsFromXML(Element varsElem)
varsElem
- an XML node containing the passivated variableswriteVarsToXML(Document, Element, boolean)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.4.0) E10653-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |