org.openanzo.rdfs.dataset
Class BagListenerAdapter

java.lang.Object
  extended by org.openanzo.rdfs.dataset.BagListenerAdapter
All Implemented Interfaces:
ThingListener, BagListener

public class BagListenerAdapter
extends java.lang.Object
implements BagListener

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


Constructor Summary
BagListenerAdapter()
           
 
Method Summary
 void commentAdded(Bag source, java.lang.String newValue)
          Called when a value of comment has been added
 void commentRemoved(Bag source, java.lang.String oldValue)
          Called when a value of comment has been removed
 void isDefinedByAdded(Bag source, _Resource newValue)
          Called when a value of isDefinedBy has been added
 void isDefinedByRemoved(Bag source, _Resource oldValue)
          Called when a value of isDefinedBy has been removed
 void labelAdded(Bag source, java.lang.String newValue)
          Called when a value of label has been added
 void labelRemoved(Bag source, java.lang.String oldValue)
          Called when a value of label has been removed
 void memberAdded(Bag source, _Resource newValue)
          Called when a value of member has been added
 void memberRemoved(Bag source, _Resource oldValue)
          Called when a value of member has been removed
 void seeAlsoAdded(Bag source, _Resource newValue)
          Called when a value of seeAlso has been added
 void seeAlsoRemoved(Bag source, _Resource oldValue)
          Called when a value of seeAlso has been removed
 void typeAdded(Bag source, Class newValue)
          Called when a value of type has been added
 void typeRemoved(Bag source, Class oldValue)
          Called when a value of type has been removed
 void valueAdded(Bag source, _Resource newValue)
          Called when a value of value has been added
 void valueRemoved(Bag 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

BagListenerAdapter

public BagListenerAdapter()
Method Detail

commentAdded

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

Specified by:
commentAdded in interface BagListener
Parameters:
source - the affected instance of org.openanzo.rdfs.dataset.Bag
newValue - the object representing the new value

commentRemoved

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

Specified by:
commentRemoved in interface BagListener
Parameters:
source - the affected instance of org.openanzo.rdfs.dataset.Bag
oldValue - the object representing the removed value

labelAdded

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

Specified by:
labelAdded in interface BagListener
Parameters:
source - the affected instance of org.openanzo.rdfs.dataset.Bag
newValue - the object representing the new value

labelRemoved

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

Specified by:
labelRemoved in interface BagListener
Parameters:
source - the affected instance of org.openanzo.rdfs.dataset.Bag
oldValue - the object representing the removed value

typeAdded

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

Specified by:
typeAdded in interface BagListener
Parameters:
source - the affected instance of org.openanzo.rdfs.dataset.Bag
newValue - the object representing the new value

typeRemoved

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

Specified by:
typeRemoved in interface BagListener
Parameters:
source - the affected instance of org.openanzo.rdfs.dataset.Bag
oldValue - the object representing the removed value

valueAdded

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

Specified by:
valueAdded in interface BagListener
Parameters:
source - the affected instance of org.openanzo.rdfs.dataset.Bag
newValue - the object representing the new value

valueRemoved

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

Specified by:
valueRemoved in interface BagListener
Parameters:
source - the affected instance of org.openanzo.rdfs.dataset.Bag
oldValue - the object representing the removed value

isDefinedByAdded

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

Specified by:
isDefinedByAdded in interface BagListener
Parameters:
source - the affected instance of org.openanzo.rdfs.dataset.Bag
newValue - the object representing the new value

isDefinedByRemoved

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

Specified by:
isDefinedByRemoved in interface BagListener
Parameters:
source - the affected instance of org.openanzo.rdfs.dataset.Bag
oldValue - the object representing the removed value

memberAdded

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

Specified by:
memberAdded in interface BagListener
Parameters:
source - the affected instance of org.openanzo.rdfs.dataset.Bag
newValue - the object representing the new value

memberRemoved

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

Specified by:
memberRemoved in interface BagListener
Parameters:
source - the affected instance of org.openanzo.rdfs.dataset.Bag
oldValue - the object representing the removed value

seeAlsoAdded

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

Specified by:
seeAlsoAdded in interface BagListener
Parameters:
source - the affected instance of org.openanzo.rdfs.dataset.Bag
newValue - the object representing the new value

seeAlsoRemoved

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

Specified by:
seeAlsoRemoved in interface BagListener
Parameters:
source - the affected instance of org.openanzo.rdfs.dataset.Bag
oldValue - the object representing the removed value


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