de.hattrickorganizer.model
Class FutureTrainingWeek

java.lang.Object
  extended by de.hattrickorganizer.model.FutureTrainingWeek
All Implemented Interfaces:
IFutureTrainingWeek

public class FutureTrainingWeek
extends java.lang.Object
implements IFutureTrainingWeek

Training week object, different than the ITrainingWeek since we want to use HT season and week instead of datum, year and solar week


Constructor Summary
FutureTrainingWeek()
           
 
Method Summary
 int getIntensitaet()
          Returns the training intensity
 int getSeason()
          Get Hattrick season of the training
 int getStaminaTrainingPart()
          Returns the StaminaTrainingPart
 int getTyp()
          Get Training type
 int getWeek()
          Get Hattrick week of the training
 void setIntensitaet(int intensity)
          Set the training intensity
 void setSeason(int season)
          Set Hattrick season of the training
 void setStaminaTrainingPart(int staminaTrainingPart)
          Set the StaminaTrainingPart
 void setTyp(int type)
          Set Training type
 void setWeek(int week)
          Set Hattrick week of the training
 java.lang.String toString()
          toString methode: creates a String representation of the object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FutureTrainingWeek

public FutureTrainingWeek()
Method Detail

setStaminaTrainingPart

public void setStaminaTrainingPart(int staminaTrainingPart)
Set the StaminaTrainingPart

Specified by:
setStaminaTrainingPart in interface IFutureTrainingWeek
Parameters:
staminaTrainingPart -

getStaminaTrainingPart

public int getStaminaTrainingPart()
Returns the StaminaTrainingPart

Specified by:
getStaminaTrainingPart in interface IFutureTrainingWeek
Returns:
staminaTrainingPart

setIntensitaet

public void setIntensitaet(int intensity)
Set the training intensity

Specified by:
setIntensitaet in interface IFutureTrainingWeek
Parameters:
intensity -

getIntensitaet

public int getIntensitaet()
Returns the training intensity

Specified by:
getIntensitaet in interface IFutureTrainingWeek
Returns:
intensity

setSeason

public void setSeason(int season)
Set Hattrick season of the training

Specified by:
setSeason in interface IFutureTrainingWeek
Parameters:
season -

getSeason

public int getSeason()
Get Hattrick season of the training

Specified by:
getSeason in interface IFutureTrainingWeek
Returns:

setTyp

public void setTyp(int type)
Set Training type

Specified by:
setTyp in interface IFutureTrainingWeek
Parameters:
type -

getTyp

public int getTyp()
Get Training type

Specified by:
getTyp in interface IFutureTrainingWeek
Returns:
type

setWeek

public void setWeek(int week)
Set Hattrick week of the training

Specified by:
setWeek in interface IFutureTrainingWeek
Parameters:
week -

getWeek

public int getWeek()
Get Hattrick week of the training

Specified by:
getWeek in interface IFutureTrainingWeek
Returns:
week

toString

public java.lang.String toString()
toString methode: creates a String representation of the object

Overrides:
toString in class java.lang.Object
Returns:
the String representation