public interface IConfigSimpleEntity extends IConfigEntity
A simple entity is an entity whose node forms a leaf node in the configuration tree. A simple entity contains a single property set.
Modifier and Type | Method and Description |
---|---|
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.
|
deserialize, getContainer, getName, serialize
clear, isDirty, setDirty
getAddress, getRepository
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.Copyright © 2019 Neeve Research, LLC. All Rights Reserved.