public interface IConfigEntity extends IConfigContentNode
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.
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(String str,
boolean markAsDirty)
Deserialize an entity from a string
|
IConfigEntityContainer<? extends IConfigEntity> |
getContainer()
Get an entity's container.
|
String |
getName()
Get an entity's name.
|
void |
serialize(StringBuilder builder)
Serialize an entity to a string.
|
clear, isDirty, setDirtygetAddress, getRepositoryString getName()
The node name is the name of the entity. The name uniquely identifies the entity in its container.
IConfigEntityContainer<? extends IConfigEntity> 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.EConfigExceptionThis method populates the entity fron content encoded in the supplied string.
Copyright © 2019 Neeve Research, LLC. All Rights Reserved.