hoplugins.teamAnalyzer.report
Class Report

java.lang.Object
  extended byhoplugins.teamAnalyzer.report.Report
Direct Known Subclasses:
PositionReport, SpotLineup, SpotReport, TacticReport

public class Report
extends java.lang.Object

A Report class used for collect data on a specific spot on the field

Author:
Massimiliano Amato

Constructor Summary
Report()
          Creates a new Report object.
Report(PlayerPerformance pp)
          Creates a new Report object.
 
Method Summary
 void addPerformance(PlayerPerformance pp)
          Add another performance to the Report, updating appearance and average rating the rest has to be updated in child classes
 int getAppearance()
          Document Me!
 int getPlayerId()
          DOCUMENT ME!
 int getPosition()
          DOCUMENT ME!
 double getRating()
          Document Me!
 int getSpot()
          Document Me!
 void setAppearance(int i)
          Document Me!
 void setPlayerId(int i)
          DOCUMENT ME!
 void setPosition(int i)
          DOCUMENT ME!
 void setRating(double d)
          Document Me!
 void setSpot(int i)
          Document Me!
 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

Report

public Report(PlayerPerformance pp)
Creates a new Report object.

Parameters:
pp - PlayerPerformance for which the report has to be built

Report

public Report()
Creates a new Report object.

Method Detail

setAppearance

public void setAppearance(int i)
Document Me!

Parameters:
i -

getAppearance

public int getAppearance()
Document Me!

Returns:

setPlayerId

public void setPlayerId(int i)
DOCUMENT ME!

Parameters:
i -

getPlayerId

public int getPlayerId()
DOCUMENT ME!

Returns:

setPosition

public void setPosition(int i)
DOCUMENT ME!

Parameters:
i -

getPosition

public int getPosition()
DOCUMENT ME!

Returns:

setRating

public void setRating(double d)
Document Me!

Parameters:
d -

getRating

public double getRating()
Document Me!

Returns:

setSpot

public void setSpot(int i)
Document Me!

Parameters:
i -

getSpot

public int getSpot()
Document Me!

Returns:

addPerformance

public void addPerformance(PlayerPerformance pp)
Add another performance to the Report, updating appearance and average rating the rest has to be updated in child classes

Parameters:
pp -

toString

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

Returns:
the String representation


Copyright © 2005 Hattrick Organizer Plugins Project. All Rights Reserved.