|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.owl.dataset.RestrictionListenerAdapter
public class RestrictionListenerAdapter
Implementations of this listener may be registered with instances of org.openanzo.owl.dataset.Restriction to
receive notification when properties changed, added or removed.
| Constructor Summary | |
|---|---|
RestrictionListenerAdapter()
|
|
| 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 |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RestrictionListenerAdapter()
| Method Detail |
|---|
public void cardinalityAdded(Restriction source,
java.lang.Integer newValue)
cardinalityAdded in interface RestrictionListenersource - the affected instance of org.openanzo.owl.dataset.RestrictionnewValue - the object representing the new value
public void cardinalityRemoved(Restriction source,
java.lang.Integer oldValue)
cardinalityRemoved in interface RestrictionListenersource - the affected instance of org.openanzo.owl.dataset.RestrictionoldValue - the object representing the removed value
public void maxCardinalityAdded(Restriction source,
java.lang.Integer newValue)
maxCardinalityAdded in interface RestrictionListenersource - the affected instance of org.openanzo.owl.dataset.RestrictionnewValue - the object representing the new value
public void maxCardinalityRemoved(Restriction source,
java.lang.Integer oldValue)
maxCardinalityRemoved in interface RestrictionListenersource - the affected instance of org.openanzo.owl.dataset.RestrictionoldValue - the object representing the removed value
public void minCardinalityAdded(Restriction source,
java.lang.Integer newValue)
minCardinalityAdded in interface RestrictionListenersource - the affected instance of org.openanzo.owl.dataset.RestrictionnewValue - the object representing the new value
public void minCardinalityRemoved(Restriction source,
java.lang.Integer oldValue)
minCardinalityRemoved in interface RestrictionListenersource - the affected instance of org.openanzo.owl.dataset.RestrictionoldValue - the object representing the removed valuepublic void onPropertyChanged(Restriction source)
onPropertyChanged in interface RestrictionListenersource - the affected instance of org.openanzo.owl.dataset.Restrictionpublic void hasValueChanged(Restriction source)
hasValueChanged in interface RestrictionListenersource - the affected instance of org.openanzo.owl.dataset.Restriction
public void allValuesFromAdded(Restriction source,
DatasetThing newValue)
allValuesFromAdded in interface RestrictionListenersource - the affected instance of org.openanzo.owl.dataset.RestrictionnewValue - the object representing the new value
public void allValuesFromRemoved(Restriction source,
DatasetThing oldValue)
allValuesFromRemoved in interface RestrictionListenersource - the affected instance of org.openanzo.owl.dataset.RestrictionoldValue - the object representing the removed value
public void someValuesFromAdded(Restriction source,
DatasetThing newValue)
someValuesFromAdded in interface RestrictionListenersource - the affected instance of org.openanzo.owl.dataset.RestrictionnewValue - the object representing the new value
public void someValuesFromRemoved(Restriction source,
DatasetThing oldValue)
someValuesFromRemoved in interface RestrictionListenersource - the affected instance of org.openanzo.owl.dataset.RestrictionoldValue - the object representing the removed value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||