org.openanzo.common.ontology
Interface CommandListener

All Superinterfaces:
ThingListener

public interface CommandListener
extends ThingListener

Implementations of this listener may be registered with instances of org.openanzo.common.ontology.Command to receive notification when properties changed, added or removed.


Method Summary
 void preconditionAdded(Command source, Precondition newValue)
          Called when a value of precondition has been added
 void preconditionRemoved(Command source, Precondition oldValue)
          Called when a value of precondition has been removed
 

Method Detail

preconditionAdded

void preconditionAdded(Command source,
                       Precondition newValue)
Called when a value of precondition has been added

Parameters:
source - the affected instance of org.openanzo.common.ontology.Command
newValue - the object representing the new value

preconditionRemoved

void preconditionRemoved(Command source,
                         Precondition oldValue)
Called when a value of precondition has been removed

Parameters:
source - the affected instance of org.openanzo.common.ontology.Command
oldValue - the object representing the removed value


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