org.openanzo.rdfs.dataset
Class ClassListenerAdapter

java.lang.Object
  extended by org.openanzo.rdfs.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.rdfs.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 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 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 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.rdfs.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.rdfs.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.rdfs.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.rdfs.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.rdfs.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.rdfs.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.rdfs.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.rdfs.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.rdfs.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.rdfs.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.rdfs.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.rdfs.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.rdfs.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.rdfs.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.rdfs.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.rdfs.dataset.Class
oldValue - the object representing the removed value


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