org.openanzo.rdfs.dataset
Class ContainerListenerAdapter

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

public class ContainerListenerAdapter
extends java.lang.Object
implements ContainerListener

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


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

ContainerListenerAdapter

public ContainerListenerAdapter()
Method Detail

commentAdded

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

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

commentRemoved

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

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

labelAdded

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

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

labelRemoved

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

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

typeAdded

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

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

typeRemoved

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

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

valueAdded

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

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

valueRemoved

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

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

isDefinedByAdded

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

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

isDefinedByRemoved

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

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

memberAdded

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

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

memberRemoved

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

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

seeAlsoAdded

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

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

seeAlsoRemoved

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

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


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