|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IConfigEntity
Represents an entity in the configuration repository.
An entity node is a node in the configuration tree containing the configuration for a configurable entity. The configuration tree does not have to terminate at an entity node. The entity node can form part of the address of another entity i.e. a sub-entity of the entity.
Method Summary | |
---|---|
void |
deserialize(String str,
boolean markAsDirty)
Deserialize an entity from a string |
IConfigEntityContainer |
getContainer()
Get an entity's container. |
String |
getName()
Get an entity's name. |
void |
serialize(StringBuilder builder)
Serialize an entity to a string. |
Methods inherited from interface com.neeve.config.IConfigContentNode |
---|
clear, isDirty, setDirty |
Methods inherited from interface com.neeve.config.IConfigNode |
---|
getAddress, getRepository |
Method Detail |
---|
String getName()
The node name is the name of the entity. The name uniquely identifies the entity in its container.
IConfigEntityContainer getContainer()
This method returns the parent node (the entity container) of an entity.
void serialize(StringBuilder builder)
builder
- The string builder to serialize the entity to.void deserialize(String str, boolean markAsDirty) throws EConfigException
str
- The string to derialize from.markAsDirty
- Indicates whether to mark the entity as dirty.
EConfigException
This method populates the entity fron content encoded in the supplied string.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |