public class ConfigData
extends java.lang.Object
ConfigData
class represents main structure containing the list of parameter
sections and lists of predefined type values.Constructor and Description |
---|
ConfigData() |
Modifier and Type | Method and Description |
---|---|
void |
clearValues()
Clear values (sets default values) of all sections.
|
java.util.Map<java.lang.String,Parameter> |
getParameterList() |
java.util.Map<java.lang.String,Property> |
getPropertyList() |
java.util.List<Section> |
getSectionList() |
Parameter |
searchParameter(java.lang.String name)
Search for an parameter with specified name.
|
Property |
searchProperty(java.lang.String name)
Search for a property with specified name.
|
void |
setParameterList(java.util.Map<java.lang.String,Parameter> parameterList) |
void |
setPropertyList(java.util.Map<java.lang.String,Property> propertyList) |
void |
setSectionList(java.util.List<Section> sectionList) |
public void clearValues()
public Parameter searchParameter(java.lang.String name)
name
- a name of serched parameter.public Property searchProperty(java.lang.String name)
name
- a name of serched property.public java.util.List<Section> getSectionList()
public void setSectionList(java.util.List<Section> sectionList)
public java.util.Map<java.lang.String,Parameter> getParameterList()
public void setParameterList(java.util.Map<java.lang.String,Parameter> parameterList)
public java.util.Map<java.lang.String,Property> getPropertyList()
public void setPropertyList(java.util.Map<java.lang.String,Property> propertyList)