public class Parameter
extends java.lang.Object
Parameter
object may represent the entire tree or a sub-tree.Constructor and Description |
---|
Parameter(Parameters parameters,
Prefix prefix) |
Parameter(Parameters parameters,
SimNode simNode) |
Modifier and Type | Method and Description |
---|---|
Value |
get(java.lang.String name)
Queries values from the parameter database
|
Parameter |
getChildParameter(java.lang.String name)
Descends one level into the parameter tree
|
Value |
getOrUseDefault(java.lang.String name,
java.lang.String defaultValue) |
Parameters |
getParameters() |
boolean |
has(java.lang.String name) |
boolean |
hasSubTree(java.lang.String name) |
public Parameter(Parameters parameters, SimNode simNode)
public Parameter(Parameters parameters, Prefix prefix)
public Parameter getChildParameter(java.lang.String name)
public Value get(java.lang.String name)
name
- the name of the valuepublic Value getOrUseDefault(java.lang.String name, java.lang.String defaultValue)
public boolean has(java.lang.String name)
public boolean hasSubTree(java.lang.String name)
public Parameters getParameters()