org.openanzo.owl.dataset
Interface DataRestrictionListener

All Superinterfaces:
ThingListener
All Known Implementing Classes:
DataRestrictionListenerAdapter

public interface DataRestrictionListener
extends ThingListener

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


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

Method Detail

cardinalityAdded

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

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

cardinalityRemoved

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

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

maxCardinalityAdded

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

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

maxCardinalityRemoved

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

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

minCardinalityAdded

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

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

minCardinalityRemoved

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

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

onPropertyChanged

void onPropertyChanged(DataRestriction source)
Called when onProperty has changed

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

onDataRangeChanged

void onDataRangeChanged(DataRestriction source)
Called when onDataRange has changed

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


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