org.openanzo.rdfs.dataset
Class AltListenerAdapter

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

public class AltListenerAdapter
extends java.lang.Object
implements AltListener

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


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

AltListenerAdapter

public AltListenerAdapter()
Method Detail

commentAdded

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

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

commentRemoved

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

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

labelAdded

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

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

labelRemoved

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

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

typeAdded

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

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

typeRemoved

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

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

valueAdded

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

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

valueRemoved

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

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

isDefinedByAdded

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

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

isDefinedByRemoved

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

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

memberAdded

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

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

memberRemoved

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

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

seeAlsoAdded

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

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

seeAlsoRemoved

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

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


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