hoplugins.transfers.vo
Class TransferTypeRecap

java.lang.Object
  extended byhoplugins.transfers.vo.TransferTypeRecap

public class TransferTypeRecap
extends java.lang.Object

Recap Information about a single Transfer Type

Author:
Massimiliano Amato

Constructor Summary
TransferTypeRecap()
           
 
Method Summary
 void addOperation(int income)
          Add a Transfer to the collection
 int getNetIncome()
          Returns the total Net Income
 int getNumber()
          Returns the number of transfers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransferTypeRecap

public TransferTypeRecap()
Method Detail

getNetIncome

public final int getNetIncome()
Returns the total Net Income

Returns:
total gain or loss by transfers of this type

getNumber

public final int getNumber()
Returns the number of transfers

Returns:
Number of transfer

addOperation

public final void addOperation(int income)
Add a Transfer to the collection

Parameters:
income - income of the transfer


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