simulations.database.core
Class AttackStrat

java.lang.Object
  extended by simulations.database.core.AttackStrat

public class AttackStrat
extends java.lang.Object


Constructor Summary
AttackStrat(java.sql.ResultSet rs)
          Creates a new instance of AttackStrat
AttackStrat(java.lang.String name, int mem, boolean neg)
           
 
Method Summary
 int getIdAttackStrat()
          Getter for property idAttackStrat.
 int getMemory()
          Getter for property memory.
 java.lang.String getName()
          Getter for property name.
 boolean isNegative()
          Getter for property negative.
 void setIdAttackStrat(int idAttackStrat)
          Setter for property idAttackStrat.
 void setMemory(int memory)
          Setter for property memory.
 void setName(java.lang.String name)
          Setter for property name.
 void setNegative(boolean negative)
          Setter for property negative.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttackStrat

public AttackStrat(java.sql.ResultSet rs)
Creates a new instance of AttackStrat


AttackStrat

public AttackStrat(java.lang.String name,
                   int mem,
                   boolean neg)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getIdAttackStrat

public int getIdAttackStrat()
Getter for property idAttackStrat.

Returns:
Value of property idAttackStrat.

setIdAttackStrat

public void setIdAttackStrat(int idAttackStrat)
Setter for property idAttackStrat.

Parameters:
idAttackStrat - New value of property idAttackStrat.

getMemory

public int getMemory()
Getter for property memory.

Returns:
Value of property memory.

setMemory

public void setMemory(int memory)
Setter for property memory.

Parameters:
memory - New value of property memory.

getName

public java.lang.String getName()
Getter for property name.

Returns:
Value of property name.

setName

public void setName(java.lang.String name)
Setter for property name.

Parameters:
name - New value of property name.

isNegative

public boolean isNegative()
Getter for property negative.

Returns:
Value of property negative.

setNegative

public void setNegative(boolean negative)
Setter for property negative.

Parameters:
negative - New value of property negative.