|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IConfigSimpleEntity
Represents a simple entity in the configuration repository.
A simple entity is an entity whose node forms a leaf node in the configuration tree. A simple entity contains a single property set.
Method Summary | |
---|---|
Properties |
getProperties()
Get the entity's property set. |
String |
getProperty(String propname,
String defval)
Get a property value from an entity's property set. |
IConfigSimpleEntity |
setProperties(Properties props)
Set a set of properties in an entity's property set. |
IConfigSimpleEntity |
setProperty(String propname,
String propval)
Set a property value in an entity's property set. |
Methods inherited from interface com.neeve.config.IConfigEntity |
---|
deserialize, getContainer, getName, serialize |
Methods inherited from interface com.neeve.config.IConfigContentNode |
---|
clear, isDirty, setDirty |
Methods inherited from interface com.neeve.config.IConfigNode |
---|
getAddress, getRepository |
Method Detail |
---|
IConfigSimpleEntity setProperties(Properties props)
props
- The property table from where to set the properties. A value of
null clears all entity properties.
Properties getProperties()
IConfigSimpleEntity setProperty(String propname, String propval)
propname
- The property name.propval
- The property value.
String getProperty(String propname, String defval)
propname
- The name of the property.defval
- The value to return in case the property was not found.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |