visman::components::visman_core::NamedEntity
Overview
interface NamedEntity extends Observable
Base interface for all named model entities.
Derived Classes and Interfaces
- Event
- LayerTag
- Preset
- Viewport
Operation Index
- getName
-
Returns the current name of the entity.
- changeName
-
Changes the name of the entity.
Operations
string getName()
Returns the current name of the entity.
Return Value
The unique name identifying this entity within its container.
void changeName(string newName) throws DuplicateEntity
Changes the name of the entity.
Parameters
- newName
-
The new name to assign to the entity.
Exceptions
- DuplicateEntity
-
If another entity with the same name already exists.