com.monad.homerun.action
Class ReflexSet
java.lang.Object
com.monad.homerun.base.DataObject
com.monad.homerun.action.ReflexSet
- All Implemented Interfaces:
- java.io.Serializable
public class ReflexSet
- extends DataObject
ReflexSet class holds a collection of bindings of actions to 'events',
defined as model transitions or device changes for a particular
object, or type
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReflexSet
public ReflexSet()
ReflexSet
public ReflexSet(java.lang.String setName,
java.lang.String entType)
ReflexSet
public ReflexSet(java.lang.String setName,
java.lang.String entType,
ReflexBinding[] bindings)
ReflexSet
public ReflexSet(ReflexSet reflexes)
getNumBindings
public int getNumBindings()
- Returns the number of bindings in this plan
- Returns:
- the number of event bindings
loadBindings
public void loadBindings(ReflexBinding[] bindings)
addBinding
public void addBinding(ReflexBinding binding)
- Adds an event binding to the plan
- Parameters:
binding
- the event binding to add
removeBinding
public void removeBinding(ReflexBinding binding)
- Removes an event binding from the plan
- Parameters:
binding
- the event binding to remove
getBindings
public ReflexBinding[] getBindings()
getBindings
public ReflexBinding[] getBindings(java.lang.String sourceName)
Copyright © 2006-2009 Richard Rodgers. All Rights Reserved.