class Entity |
|
The base class for Item and Collection.
Entity is the common base class for Item and Collection that provides unique IDs and attributes handling. This class is not meant to be used directly, use Item or Collection instead.
Author Tobias Koenig |
|
Creates an entity from an other entity. |
|
|
Adds an attribute to the entity.
If an attribute of the same type name already exists, it is deleted and replaced with the new one. attribute - The new attribute. The entity takes the ownership of the attribute. |
|
Returns the attribute of the given type name if available, 0 otherwise. |
|
Returns a list of all attributes of the entity. |
|
Removes and deletes all attributes of the entity. |
|
Returns true if the entity has an attribute of the given type name, false otherwise. |
|
Returns the unique identifier of the entity. |
|
Returns whether the entity is valid. |
|
Returns whether the entity's id does not equal the id of the other entity. |
|
Returns whether the entity's id equals the id of the other entity. |
|
Returns the remote id of the entity. |
|
Removes and deletes the attribute of the given type name. |
|
Sets the unique identifier of the entity. |
|
Sets the remote id of the entity. |
Describes the options that can be passed to access attributes.
AddIfMissing | - | - |