simulations.gui.coalitions
Class CoalitionData

java.lang.Object
  extended by simulations.gui.coalitions.CoalitionData

public class CoalitionData
extends java.lang.Object


Constructor Summary
CoalitionData(int nbOcc, int maxLength, int currentLength, int seqNbOcc, boolean lastTurn)
          Creates a new instance of CoalitionData
 
Method Summary
 int getCurrentLength()
          Getter for property currentLength.
 int getMaxLength()
          Getter for property maxLength.
 int getNbOcc()
          Getter for property nbOcc.
 int getSeqNbOcc()
          Getter for property seqNbOcc.
 boolean isLastTurn()
          Getter for property lastTurn.
 void setCurrentLength(int currentLength)
          Setter for property currentLength.
 void setLastTurn(boolean lastTurn)
          Setter for property lastTurn.
 void setMaxLength(int maxLength)
          Setter for property maxLength.
 void setNbOcc(int nbOcc)
          Setter for property nbOcc.
 void setSeqNbOcc(int seqNbOcc)
          Setter for property seqNbOcc.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoalitionData

public CoalitionData(int nbOcc,
                     int maxLength,
                     int currentLength,
                     int seqNbOcc,
                     boolean lastTurn)
Creates a new instance of CoalitionData

Method Detail

getCurrentLength

public int getCurrentLength()
Getter for property currentLength.

Returns:
Value of property currentLength.

setCurrentLength

public void setCurrentLength(int currentLength)
Setter for property currentLength.

Parameters:
currentLength - New value of property currentLength.

isLastTurn

public boolean isLastTurn()
Getter for property lastTurn.

Returns:
Value of property lastTurn.

setLastTurn

public void setLastTurn(boolean lastTurn)
Setter for property lastTurn.

Parameters:
lastTurn - New value of property lastTurn.

getMaxLength

public int getMaxLength()
Getter for property maxLength.

Returns:
Value of property maxLength.

setMaxLength

public void setMaxLength(int maxLength)
Setter for property maxLength.

Parameters:
maxLength - New value of property maxLength.

getNbOcc

public int getNbOcc()
Getter for property nbOcc.

Returns:
Value of property nbOcc.

setNbOcc

public void setNbOcc(int nbOcc)
Setter for property nbOcc.

Parameters:
nbOcc - New value of property nbOcc.

getSeqNbOcc

public int getSeqNbOcc()
Getter for property seqNbOcc.

Returns:
Value of property seqNbOcc.

setSeqNbOcc

public void setSeqNbOcc(int seqNbOcc)
Setter for property seqNbOcc.

Parameters:
seqNbOcc - New value of property seqNbOcc.