org.openanzo.rdfs.dataset
Class _ResourceListenerAdapter

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

public class _ResourceListenerAdapter
extends java.lang.Object
implements _ResourceListener

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


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

_ResourceListenerAdapter

public _ResourceListenerAdapter()
Method Detail

commentAdded

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

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

commentRemoved

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

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

labelAdded

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

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

labelRemoved

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

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

typeAdded

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

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

typeRemoved

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

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

valueAdded

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

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

valueRemoved

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

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

isDefinedByAdded

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

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

isDefinedByRemoved

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

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

memberAdded

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

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

memberRemoved

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

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

seeAlsoAdded

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

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

seeAlsoRemoved

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

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


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