public class ConfigCollection extends Object
Constructor and Description |
---|
ConfigCollection(String name)
Create a new ConfigCollection.
|
Modifier and Type | Method and Description |
---|---|
void |
addChild(ConfigCollection configCollection)
Add a child ConfigCollection.
|
ConfigCollection |
getByPath(String path)
Get a ConfigCollection by its path in dot-notation.
|
ConfigCollection |
getChild(String name)
Get a child ConfigCollection by its name.
|
Collection |
getChildren()
Get all children of the ConfigCollection.
|
String |
getName()
Get the name of the ConfigCollection.
|
String |
getProperty(String name)
Get a property by its name.
|
Collection |
getPropertyNames()
Get all property names in this ConfigCollection.
|
void |
putProperty(String name,
String value)
Set/add a property to the ConfigCollection.
|
void |
removeChild(String name)
Remove a child ConfigCollection.
|
void |
removeProperty(String name)
Remove a property from the ConfigCollection
|
void |
setByPath(String path,
ConfigCollection configCollection)
Set/Replace a child ConfigCollection by its relative path in dot-notation.
|
public ConfigCollection(String name)
name
- the name of the ConfigCollection (the root-node has name = null
)public String getName()
public void addChild(ConfigCollection configCollection)
configCollection
- The child to be addedpublic void removeChild(String name)
name
- TBD: Description of the incoming method parameterpublic ConfigCollection getChild(String name)
name
- The name of the childpublic ConfigCollection getByPath(String path)
path
- The path in dot-notationpublic void setByPath(String path, ConfigCollection configCollection)
path
- The path in dot-notationconfigCollection
- The child ConfigCollection to be setpublic Collection getChildren()
public void putProperty(String name, String value)
name
- The name of the property (dot-notation will be resolved)value
- The value of the propertypublic void removeProperty(String name)
name
- The name of the property to by removed (dot-notation will be
resoved )public Collection getPropertyNames()
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice