jfreerails.move
Class ChangeCargoBundleMove

java.lang.Object
  extended by jfreerails.move.ChangeItemInListMove
      extended by jfreerails.move.ChangeCargoBundleMove
All Implemented Interfaces:
java.io.Serializable, ListMove, Move, FreerailsSerializable

public class ChangeCargoBundleMove
extends ChangeItemInListMove

This Move changes a cargo bundle (cargo bundles are used to represent the cargo carried by trains and the cargo waiting at stations).

Author:
Luke
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
           
 
Constructor Summary
ChangeCargoBundleMove(ImmutableCargoBundle before, ImmutableCargoBundle after, int bundleNumber, FreerailsPrincipal p)
           
 
Method Summary
 
Methods inherited from class jfreerails.move.ChangeItemInListMove
beforeEqualsAfter, doMove, equals, getAfter, getBefore, getIndex, getKey, getPrincipal, hashCode, move, toString, tryDoMove, tryMove, tryUndoMove, undoMove
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

ChangeCargoBundleMove

public ChangeCargoBundleMove(ImmutableCargoBundle before,
                             ImmutableCargoBundle after,
                             int bundleNumber,
                             FreerailsPrincipal p)