org.openanzo.owl.dataset
Class IndividualListenerAdapter

java.lang.Object
  extended by org.openanzo.owl.dataset.IndividualListenerAdapter
All Implemented Interfaces:
ThingListener, IndividualListener

public class IndividualListenerAdapter
extends java.lang.Object
implements IndividualListener

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


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

IndividualListenerAdapter

public IndividualListenerAdapter()
Method Detail

commentAdded

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

Specified by:
commentAdded in interface IndividualListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Individual
newValue - the object representing the new value

commentRemoved

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

Specified by:
commentRemoved in interface IndividualListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Individual
oldValue - the object representing the removed value

labelAdded

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

Specified by:
labelAdded in interface IndividualListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Individual
newValue - the object representing the new value

labelRemoved

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

Specified by:
labelRemoved in interface IndividualListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Individual
oldValue - the object representing the removed value

typeAdded

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

Specified by:
typeAdded in interface IndividualListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Individual
newValue - the object representing the new value

typeRemoved

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

Specified by:
typeRemoved in interface IndividualListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Individual
oldValue - the object representing the removed value

valueAdded

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

Specified by:
valueAdded in interface IndividualListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Individual
newValue - the object representing the new value

valueRemoved

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

Specified by:
valueRemoved in interface IndividualListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Individual
oldValue - the object representing the removed value

isDefinedByAdded

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

Specified by:
isDefinedByAdded in interface IndividualListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Individual
newValue - the object representing the new value

isDefinedByRemoved

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

Specified by:
isDefinedByRemoved in interface IndividualListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Individual
oldValue - the object representing the removed value

memberAdded

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

Specified by:
memberAdded in interface IndividualListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Individual
newValue - the object representing the new value

memberRemoved

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

Specified by:
memberRemoved in interface IndividualListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Individual
oldValue - the object representing the removed value

seeAlsoAdded

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

Specified by:
seeAlsoAdded in interface IndividualListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Individual
newValue - the object representing the new value

seeAlsoRemoved

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

Specified by:
seeAlsoRemoved in interface IndividualListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Individual
oldValue - the object representing the removed value

differentFromAdded

public void differentFromAdded(Individual source,
                               OWLEntity newValue)
Called when a value of differentFrom has been added

Specified by:
differentFromAdded in interface IndividualListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Individual
newValue - the object representing the new value

differentFromRemoved

public void differentFromRemoved(Individual source,
                                 OWLEntity oldValue)
Called when a value of differentFrom has been removed

Specified by:
differentFromRemoved in interface IndividualListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Individual
oldValue - the object representing the removed value

sameAsAdded

public void sameAsAdded(Individual source,
                        OWLEntity newValue)
Called when a value of sameAs has been added

Specified by:
sameAsAdded in interface IndividualListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Individual
newValue - the object representing the new value

sameAsRemoved

public void sameAsRemoved(Individual source,
                          OWLEntity oldValue)
Called when a value of sameAs has been removed

Specified by:
sameAsRemoved in interface IndividualListener
Parameters:
source - the affected instance of org.openanzo.owl.dataset.Individual
oldValue - the object representing the removed value


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