edu.ksu.cis.cadena.core
Class BackReferencesMaintainer

java.lang.Object
  extended by EContentAdapter
      extended by edu.ksu.cis.cadena.core.BackReferencesMaintainer

public class BackReferencesMaintainer
extends EContentAdapter

Adapter to do the book-keeping for backreferences. This allows any object in the CALM hierarchy to "know" which others point to it.

Author:
Matt Hoosier

Method Summary
static BackReferencesMaintainer getBackReferencesMaintainer()
           
 void insertBackReferences(CalmObject o)
          Recursively register back-references with the objects pointed to.
 void notifyChanged(Notification notification)
           
 void removeBackReferences(CalmObject o)
          Recursively unregister back-references with objects pointed to.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getBackReferencesMaintainer

public static BackReferencesMaintainer getBackReferencesMaintainer()

notifyChanged

public void notifyChanged(Notification notification)

insertBackReferences

public void insertBackReferences(CalmObject o)
Recursively register back-references with the objects pointed to. This descends across all model objects contained by o.


removeBackReferences

public void removeBackReferences(CalmObject o)
Recursively unregister back-references with objects pointed to. This descends across all model objects contained by o.