org.openanzo.owl.dataset
Interface ObjectRestrictionListener

All Superinterfaces:
ThingListener
All Known Implementing Classes:
ObjectRestrictionListenerAdapter

public interface ObjectRestrictionListener
extends ThingListener

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


Method Summary
 void cardinalityAdded(ObjectRestriction source, java.lang.Integer newValue)
          Called when a value of cardinality has been added
 void cardinalityRemoved(ObjectRestriction source, java.lang.Integer oldValue)
          Called when a value of cardinality has been removed
 void maxCardinalityAdded(ObjectRestriction source, java.lang.Integer newValue)
          Called when a value of maxCardinality has been added
 void maxCardinalityRemoved(ObjectRestriction source, java.lang.Integer oldValue)
          Called when a value of maxCardinality has been removed
 void minCardinalityAdded(ObjectRestriction source, java.lang.Integer newValue)
          Called when a value of minCardinality has been added
 void minCardinalityRemoved(ObjectRestriction source, java.lang.Integer oldValue)
          Called when a value of minCardinality has been removed
 void onClassChanged(ObjectRestriction source)
          Called when onClass has changed
 void onPropertyChanged(ObjectRestriction source)
          Called when onProperty has changed
 

Method Detail

cardinalityAdded

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

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

cardinalityRemoved

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

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

maxCardinalityAdded

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

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

maxCardinalityRemoved

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

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

minCardinalityAdded

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

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

minCardinalityRemoved

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

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

onPropertyChanged

void onPropertyChanged(ObjectRestriction source)
Called when onProperty has changed

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

onClassChanged

void onClassChanged(ObjectRestriction source)
Called when onClass has changed

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


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