net.ontopia.topicmaps.impl.utils
Class AbstractAttachManager

java.lang.Object
  extended by net.ontopia.topicmaps.impl.utils.AbstractAttachManager
Direct Known Subclasses:
AttachManager

public abstract class AbstractAttachManager
extends java.lang.Object

INTERNAL: A class that configures event listeners for an object tree manager object and figures out which objects have been detached from the object model.


Nested Class Summary
static interface AbstractAttachManager.AttachHandlerIF
          INTERNAL: Interface that manages attaching new objects to the object model.
static interface AbstractAttachManager.DetachHandlerIF
          INTERNAL: Interface that manages detaching new objects to the object model.
 
Field Summary
protected  ObjectTreeManager otree
           
 
Constructor Summary
AbstractAttachManager(ObjectTreeManager otree)
           
 
Method Summary
 void clear()
           
 AbstractAttachManager.AttachHandlerIF getAssociationAttachHandler()
          INTERNAL: Returns all the association attach handler.
 AbstractAttachManager.DetachHandlerIF getAssociationDetachHandler()
           
 AbstractAttachManager.AttachHandlerIF getAssociationRoleAttachHandler()
           
 AbstractAttachManager.DetachHandlerIF getAssociationRoleDetachHandler()
           
 java.util.Collection<java.lang.Object> getAttachedObjects()
          INTERNAL: Returns all the objects that have been attached.
abstract  AbstractAttachManager.AttachHandlerIF getAttachHandler(java.lang.Class<?> klass)
          INTERNAL: Creates a new attach handler.
 java.util.Collection<java.lang.Object> getDetachedObjects()
          INTERNAL: Returns all the objects that have been detached.
abstract  AbstractAttachManager.DetachHandlerIF getDetachHandler(java.lang.Class<?> klass)
          INTERNAL: Creates a new detach handler.
 AbstractAttachManager.AttachHandlerIF getOccurrenceAttachHandler()
           
 AbstractAttachManager.DetachHandlerIF getOccurrenceDetachHandler()
           
 AbstractAttachManager.AttachHandlerIF getTopicAttachHandler()
           
 AbstractAttachManager.DetachHandlerIF getTopicDetachHandler()
           
 AbstractAttachManager.AttachHandlerIF getTopicNameAttachHandler()
           
 AbstractAttachManager.DetachHandlerIF getTopicNameDetachHandler()
           
 AbstractAttachManager.AttachHandlerIF getVariantNameAttachHandler()
           
 AbstractAttachManager.DetachHandlerIF getVariantNameDetachHandler()
           
 void register()
          INTERNAL: Registers the handlers with the object tree manager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

otree

protected ObjectTreeManager otree
Constructor Detail

AbstractAttachManager

public AbstractAttachManager(ObjectTreeManager otree)
Method Detail

register

public void register()
INTERNAL: Registers the handlers with the object tree manager.


getAttachHandler

public abstract AbstractAttachManager.AttachHandlerIF getAttachHandler(java.lang.Class<?> klass)
INTERNAL: Creates a new attach handler. This method can be overridden in order to change the behaviour.


getDetachHandler

public abstract AbstractAttachManager.DetachHandlerIF getDetachHandler(java.lang.Class<?> klass)
INTERNAL: Creates a new detach handler. This method can be overridden in order to change the behaviour.


clear

public void clear()

getAttachedObjects

public java.util.Collection<java.lang.Object> getAttachedObjects()
INTERNAL: Returns all the objects that have been attached.


getDetachedObjects

public java.util.Collection<java.lang.Object> getDetachedObjects()
INTERNAL: Returns all the objects that have been detached.


getAssociationAttachHandler

public AbstractAttachManager.AttachHandlerIF getAssociationAttachHandler()
INTERNAL: Returns all the association attach handler.


getAssociationDetachHandler

public AbstractAttachManager.DetachHandlerIF getAssociationDetachHandler()

getAssociationRoleAttachHandler

public AbstractAttachManager.AttachHandlerIF getAssociationRoleAttachHandler()

getAssociationRoleDetachHandler

public AbstractAttachManager.DetachHandlerIF getAssociationRoleDetachHandler()

getTopicNameAttachHandler

public AbstractAttachManager.AttachHandlerIF getTopicNameAttachHandler()

getTopicNameDetachHandler

public AbstractAttachManager.DetachHandlerIF getTopicNameDetachHandler()

getOccurrenceAttachHandler

public AbstractAttachManager.AttachHandlerIF getOccurrenceAttachHandler()

getOccurrenceDetachHandler

public AbstractAttachManager.DetachHandlerIF getOccurrenceDetachHandler()

getTopicAttachHandler

public AbstractAttachManager.AttachHandlerIF getTopicAttachHandler()

getTopicDetachHandler

public AbstractAttachManager.DetachHandlerIF getTopicDetachHandler()

getVariantNameAttachHandler

public AbstractAttachManager.AttachHandlerIF getVariantNameAttachHandler()

getVariantNameDetachHandler

public AbstractAttachManager.DetachHandlerIF getVariantNameDetachHandler()


Copyright © 2000-2012 Ontopia.