org.tm4j.topicmap.TopicMapObject .destroy()
Description
Permanently removes this object from the topic map. Depending upon the backend implementation, this method may also free up the memory or other storage space used by the object. An object may only be destroyed after all references to it from other objects have been removed. If the object detects that there is an existing reference still held to it, then an IntegrityViolationException is thrown
Throws
- java.beans.PropertyVetoException - if the removal of the object (or one of its children) from the topic map was vetoed by a listener. Depending upon the back-end implementation used, the object or its children may or may not have been modified.
- org.tm4j.topicmap.IntegrityViolationException - If this object is still referenced from one or more other topic map objects.
Meta Data (1)