Class AbstractTransaction

java.lang.Object
com.uppaal.model.core2.AbstractCommand
com.uppaal.model.core2.AbstractTransaction
All Implemented Interfaces:
Command
Direct Known Subclasses:
AddAnchorCommand, ChangeAnchorCommand, ChangeMessageEndCommand, InsertEdgeCommand, InsertElementCommand, InsertMessageCommand, RemoveAnchorCommand, SetEndPointCommand, SetLengthCommand, TranslationCommand

public abstract class AbstractTransaction
extends AbstractCommand
The abstract class transaction
  • Field Details

  • Constructor Details

  • Method Details

    • commit

      public void commit()
      Commit the transaction.
    • cancel

      public void cancel()
      Cancel the transaction.
    • doCancel

      protected abstract void doCancel()
    • doExecute

      protected abstract void doExecute()
    • doUndo

      protected abstract void doUndo()
    • execute

      public void execute()
    • undo

      public void undo()
    • move

      public void move​(int xd, int yd)