|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IConfigComplexEntity
Represents a complex entity in the configuration repository.
A complex entity extends a simple entity to be able to hold named property sets in addition to the default property set. The default property set is identified by the null key.
Method Summary | |
---|---|
Properties |
getProperties(String setname)
Get a set of properties from the entity's property set. |
String |
getProperty(String setname,
String propname,
String defval)
Get a property value from an entity's property set. |
Iterator<String> |
names()
Get an iterator to iterate over the names of the property sets |
IConfigComplexEntity |
setProperties(String setname,
Properties props)
Set a set of properties in an entity's property set. |
IConfigComplexEntity |
setProperty(String setname,
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 |
---|
IConfigComplexEntity setProperties(String setname, Properties props)
setname
- The name of the property set in which to set the properties. A
property set name must be non-null.props
- The property table from where to set the properties. A value of
null will clear the properties for the specified property set.
Properties getProperties(String setname)
setname
- The name of the property set from which to get the properties. A
property set name must be non-null.
IConfigComplexEntity setProperty(String setname, String propname, String propval)
setname
- The name of the property set in which to set this value. A
property set name must be non-null.propname
- The property name.propval
- The property value.
String getProperty(String setname, String propname, String defval)
setname
- The name of the property set from where to retrieve the property
value. A property set name must be non-null.propname
- The name of the property.defval
- The value to return in case the property was not found.Iterator<String> names()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |