org.openanzo.owl.dataset
Class ClassListenerAdapter

java.lang.Object
  extended by org.openanzo.owl.dataset.ClassListenerAdapter
All Implemented Interfaces:
ThingListener, ClassListener

public class ClassListenerAdapter
extends java.lang.Object
implements ClassListener

Implementations of this listener may be registered with instances of org.openanzo.owl.dataset.Class to receive notification when properties changed, added or removed.


Constructor Summary
ClassListenerAdapter()
           
 
Method Summary
 void commentAdded(Class source, java.lang.String newValue)
          Called when a value of comment has been added
 void commentRemoved(Class source, java.lang.String oldValue)
          Called when a value of comment has been removed
 void disjointUnionOfAdded(Class source, Class newValue)
          Called when a value of disjointUnionOf has been added
 void disjointUnionOfRemoved(Class source, Class oldValue)
          Called when a value of disjointUnionOf has been removed
 void disjointWithAdded(Class source, Class newValue)
          Called when a value of disjointWith has been added
 void disjointWithRemoved(Class source, Class oldValue)
          Called when a value of disjointWith has been removed
 void equivalentClassAdded(Class source, Class newValue)
          Called when a value of equivalentClass has been added
 void equivalentClassRemoved(Class source, Class oldValue)
          Called when a value of equivalentClass has been removed
 void intersectionOfChanged(Class source)
          Called when intersectionOf has changed
 void isDefinedByAdded(Class source, _Resource newValue)
          Called when a value of isDefinedBy has been added
 void isDefinedByRemoved(Class source, _Resource oldValue)
          Called when a value of isDefinedBy has been removed
 void labelAdded(Class source, java.lang.String newValue)
          Called when a value of label has been added
 void labelRemoved(Class source, java.lang.String oldValue)
          Called when a value of label has been removed
 void memberAdded(Class source, _Resource newValue)
          Called when a value of member has been added
 void memberRemoved(Class source, _Resource oldValue)
          Called when a value of member has been removed
 void oneOfChanged(Class source)
          Called when oneOf has changed
 void seeAlsoAdded(Class source, _Resource newValue)
          Called when a value of seeAlso has been added
 void seeAlsoRemoved(Class source, _Resource oldValue)
          Called when a value of seeAlso has been removed
 void subClassOfAdded(Class source, Class newValue)
          Called when a value of subClassOf has been added
 void subClassOfRemoved(Class source, Class oldValue)
          Called when a value of subClassOf has been removed
 void typeAdded(Class source, Class newValue)
          Called when a value of type has been added
 void typeRemoved(Class source, Class oldValue)
          Called when a value of type has been removed
 void unionOfChanged(Class source)
          Called when unionOf has changed
 void valueAdded(Class source, _Resource newValue)
          Called when a value of value has been added
 void valueRemoved(Class source, _Resource oldValue)
          Called when a value of value has been removed
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassListenerAdapter

public ClassListenerAdapter()
Method Detail

commentAdded

public void commentAdded(Class source,
                         java.lang.String newValue)
Called when a value of comment has been added

Specified by:
commentAdded in interface ClassListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Class
newValue - the object representing the new value

commentRemoved

public void commentRemoved(Class source,
                           java.lang.String oldValue)
Called when a value of comment has been removed

Specified by:
commentRemoved in interface ClassListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Class
oldValue - the object representing the removed value

labelAdded

public void labelAdded(Class source,
                       java.lang.String newValue)
Called when a value of label has been added

Specified by:
labelAdded in interface ClassListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Class
newValue - the object representing the new value

labelRemoved

public void labelRemoved(Class source,
                         java.lang.String oldValue)
Called when a value of label has been removed

Specified by:
labelRemoved in interface ClassListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Class
oldValue - the object representing the removed value

typeAdded

public void typeAdded(Class source,
                      Class newValue)
Called when a value of type has been added

Specified by:
typeAdded in interface ClassListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Class
newValue - the object representing the new value

typeRemoved

public void typeRemoved(Class source,
                        Class oldValue)
Called when a value of type has been removed

Specified by:
typeRemoved in interface ClassListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Class
oldValue - the object representing the removed value

valueAdded

public void valueAdded(Class source,
                       _Resource newValue)
Called when a value of value has been added

Specified by:
valueAdded in interface ClassListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Class
newValue - the object representing the new value

valueRemoved

public void valueRemoved(Class source,
                         _Resource oldValue)
Called when a value of value has been removed

Specified by:
valueRemoved in interface ClassListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Class
oldValue - the object representing the removed value

isDefinedByAdded

public void isDefinedByAdded(Class source,
                             _Resource newValue)
Called when a value of isDefinedBy has been added

Specified by:
isDefinedByAdded in interface ClassListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Class
newValue - the object representing the new value

isDefinedByRemoved

public void isDefinedByRemoved(Class source,
                               _Resource oldValue)
Called when a value of isDefinedBy has been removed

Specified by:
isDefinedByRemoved in interface ClassListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Class
oldValue - the object representing the removed value

memberAdded

public void memberAdded(Class source,
                        _Resource newValue)
Called when a value of member has been added

Specified by:
memberAdded in interface ClassListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Class
newValue - the object representing the new value

memberRemoved

public void memberRemoved(Class source,
                          _Resource oldValue)
Called when a value of member has been removed

Specified by:
memberRemoved in interface ClassListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Class
oldValue - the object representing the removed value

seeAlsoAdded

public void seeAlsoAdded(Class source,
                         _Resource newValue)
Called when a value of seeAlso has been added

Specified by:
seeAlsoAdded in interface ClassListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Class
newValue - the object representing the new value

seeAlsoRemoved

public void seeAlsoRemoved(Class source,
                           _Resource oldValue)
Called when a value of seeAlso has been removed

Specified by:
seeAlsoRemoved in interface ClassListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Class
oldValue - the object representing the removed value

subClassOfAdded

public void subClassOfAdded(Class source,
                            Class newValue)
Called when a value of subClassOf has been added

Specified by:
subClassOfAdded in interface ClassListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Class
newValue - the object representing the new value

subClassOfRemoved

public void subClassOfRemoved(Class source,
                              Class oldValue)
Called when a value of subClassOf has been removed

Specified by:
subClassOfRemoved in interface ClassListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Class
oldValue - the object representing the removed value

oneOfChanged

public void oneOfChanged(Class source)
Called when oneOf has changed

Specified by:
oneOfChanged in interface ClassListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Class

disjointUnionOfAdded

public void disjointUnionOfAdded(Class source,
                                 Class newValue)
Called when a value of disjointUnionOf has been added

Specified by:
disjointUnionOfAdded in interface ClassListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Class
newValue - the object representing the new value

disjointUnionOfRemoved

public void disjointUnionOfRemoved(Class source,
                                   Class oldValue)
Called when a value of disjointUnionOf has been removed

Specified by:
disjointUnionOfRemoved in interface ClassListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Class
oldValue - the object representing the removed value

disjointWithAdded

public void disjointWithAdded(Class source,
                              Class newValue)
Called when a value of disjointWith has been added

Specified by:
disjointWithAdded in interface ClassListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Class
newValue - the object representing the new value

disjointWithRemoved

public void disjointWithRemoved(Class source,
                                Class oldValue)
Called when a value of disjointWith has been removed

Specified by:
disjointWithRemoved in interface ClassListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Class
oldValue - the object representing the removed value

equivalentClassAdded

public void equivalentClassAdded(Class source,
                                 Class newValue)
Called when a value of equivalentClass has been added

Specified by:
equivalentClassAdded in interface ClassListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Class
newValue - the object representing the new value

equivalentClassRemoved

public void equivalentClassRemoved(Class source,
                                   Class oldValue)
Called when a value of equivalentClass has been removed

Specified by:
equivalentClassRemoved in interface ClassListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Class
oldValue - the object representing the removed value

intersectionOfChanged

public void intersectionOfChanged(Class source)
Called when intersectionOf has changed

Specified by:
intersectionOfChanged in interface ClassListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Class

unionOfChanged

public void unionOfChanged(Class source)
Called when unionOf has changed

Specified by:
unionOfChanged in interface ClassListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Class


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.