org.openanzo.owl.dataset
Interface RestrictionListener

All Superinterfaces:
ThingListener
All Known Implementing Classes:
RestrictionListenerAdapter

public interface RestrictionListener
extends ThingListener

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


Method Summary
 void allValuesFromAdded(Restriction source, DatasetThing newValue)
          Called when a value of allValuesFrom has been added
 void allValuesFromRemoved(Restriction source, DatasetThing oldValue)
          Called when a value of allValuesFrom has been removed
 void cardinalityAdded(Restriction source, java.lang.Integer newValue)
          Called when a value of cardinality has been added
 void cardinalityRemoved(Restriction source, java.lang.Integer oldValue)
          Called when a value of cardinality has been removed
 void hasValueChanged(Restriction source)
          Called when hasValue has changed
 void maxCardinalityAdded(Restriction source, java.lang.Integer newValue)
          Called when a value of maxCardinality has been added
 void maxCardinalityRemoved(Restriction source, java.lang.Integer oldValue)
          Called when a value of maxCardinality has been removed
 void minCardinalityAdded(Restriction source, java.lang.Integer newValue)
          Called when a value of minCardinality has been added
 void minCardinalityRemoved(Restriction source, java.lang.Integer oldValue)
          Called when a value of minCardinality has been removed
 void onPropertyChanged(Restriction source)
          Called when onProperty has changed
 void someValuesFromAdded(Restriction source, DatasetThing newValue)
          Called when a value of someValuesFrom has been added
 void someValuesFromRemoved(Restriction source, DatasetThing oldValue)
          Called when a value of someValuesFrom has been removed
 

Method Detail

cardinalityAdded

void cardinalityAdded(Restriction source,
                      java.lang.Integer newValue)
Called when a value of cardinality has been added

Parameters:
source - the affected instance of org.openanzo.owl.dataset.Restriction
newValue - the object representing the new value

cardinalityRemoved

void cardinalityRemoved(Restriction source,
                        java.lang.Integer oldValue)
Called when a value of cardinality has been removed

Parameters:
source - the affected instance of org.openanzo.owl.dataset.Restriction
oldValue - the object representing the removed value

maxCardinalityAdded

void maxCardinalityAdded(Restriction source,
                         java.lang.Integer newValue)
Called when a value of maxCardinality has been added

Parameters:
source - the affected instance of org.openanzo.owl.dataset.Restriction
newValue - the object representing the new value

maxCardinalityRemoved

void maxCardinalityRemoved(Restriction source,
                           java.lang.Integer oldValue)
Called when a value of maxCardinality has been removed

Parameters:
source - the affected instance of org.openanzo.owl.dataset.Restriction
oldValue - the object representing the removed value

minCardinalityAdded

void minCardinalityAdded(Restriction source,
                         java.lang.Integer newValue)
Called when a value of minCardinality has been added

Parameters:
source - the affected instance of org.openanzo.owl.dataset.Restriction
newValue - the object representing the new value

minCardinalityRemoved

void minCardinalityRemoved(Restriction source,
                           java.lang.Integer oldValue)
Called when a value of minCardinality has been removed

Parameters:
source - the affected instance of org.openanzo.owl.dataset.Restriction
oldValue - the object representing the removed value

onPropertyChanged

void onPropertyChanged(Restriction source)
Called when onProperty has changed

Parameters:
source - the affected instance of org.openanzo.owl.dataset.Restriction

hasValueChanged

void hasValueChanged(Restriction source)
Called when hasValue has changed

Parameters:
source - the affected instance of org.openanzo.owl.dataset.Restriction

allValuesFromAdded

void allValuesFromAdded(Restriction source,
                        DatasetThing newValue)
Called when a value of allValuesFrom has been added

Parameters:
source - the affected instance of org.openanzo.owl.dataset.Restriction
newValue - the object representing the new value

allValuesFromRemoved

void allValuesFromRemoved(Restriction source,
                          DatasetThing oldValue)
Called when a value of allValuesFrom has been removed

Parameters:
source - the affected instance of org.openanzo.owl.dataset.Restriction
oldValue - the object representing the removed value

someValuesFromAdded

void someValuesFromAdded(Restriction source,
                         DatasetThing newValue)
Called when a value of someValuesFrom has been added

Parameters:
source - the affected instance of org.openanzo.owl.dataset.Restriction
newValue - the object representing the new value

someValuesFromRemoved

void someValuesFromRemoved(Restriction source,
                           DatasetThing oldValue)
Called when a value of someValuesFrom has been removed

Parameters:
source - the affected instance of org.openanzo.owl.dataset.Restriction
oldValue - the object representing the removed value


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