com.xj.anylogic.engine
Class Transition

java.lang.Object
  extended by com.xj.anylogic.engine.EventOriginator
      extended by com.xj.anylogic.engine.Transition
All Implemented Interfaces:
com.xj.anylogic.engine.internal.Child, java.io.Serializable
Direct Known Subclasses:
TransitionCondition, TransitionMessage, TransitionRate, TransitionTimeout

public abstract class Transition
extends EventOriginator
implements com.xj.anylogic.engine.internal.Child

Base class for all kinds of statechart transitions: TransitionTimeout, TransitionRate, TransitionCondition and TransitionMessage
Memory: sizeof(EventOriginator) = 22 bytes

Author:
XJ Technologies Company Ltd. www.anylogic.com
See Also:
Serialized Form

Method Summary
abstract  void cancel()
          Should be called when this transition becomes deactivated e.g. as a result of alternative transition being taken.
 void restoreOwner(java.lang.Object owner)
          This method normally should not be called by user
This method restores owner of this object
The method is used in snapshot saving/loading
 
Methods inherited from class com.xj.anylogic.engine.EventOriginator
getActiveObject, getFullName, getName, getRest, isActive, onDestroy, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

cancel

public abstract void cancel()
Should be called when this transition becomes deactivated e.g. as a result of alternative transition being taken.

Overrides:
cancel in class EventOriginator

restoreOwner

public void restoreOwner(java.lang.Object owner)
This method normally should not be called by user
This method restores owner of this object
The method is used in snapshot saving/loading

Specified by:
restoreOwner in interface com.xj.anylogic.engine.internal.Child
Parameters:
owner - owner of this object, usually ActiveObject, Experiment or ShapeGroup


Copyright © 1991-2008 XJ Technlogies. All Rights Reserved.