hoplugins.transfers.vo
Class TransferredPlayer

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

public class TransferredPlayer
extends java.lang.Object

Transferred Player value object

Author:
Massimiliano Amato

Constructor Summary
TransferredPlayer(plugins.ISpieler player)
          Creates a new TransferredPlayer object.
TransferredPlayer(PlayerTransfer pt)
          Creates a new TransferredPlayer object.
 
Method Summary
 void addTransfer(PlayerTransfer transfer)
          Add a transfer for the specified player
 int getIncome()
          Returns the Net Income of the Transfer
 int getPlayerId()
          Return the Id of the player
 java.lang.String getPlayerName()
          Return the name of the player
 int getTransferType()
          Returns the Transfer Type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransferredPlayer

public TransferredPlayer(plugins.ISpieler player)
Creates a new TransferredPlayer object.

Parameters:
player - PlayerId of the Transferred Player

TransferredPlayer

public TransferredPlayer(PlayerTransfer pt)
Creates a new TransferredPlayer object.

Parameters:
pt - Player Transfer to Analyze
Method Detail

getIncome

public final int getIncome()
Returns the Net Income of the Transfer

Returns:
income in euro

getPlayerId

public final int getPlayerId()
Return the Id of the player

Returns:
id

getPlayerName

public final java.lang.String getPlayerName()
Return the name of the player

Returns:
Name

getTransferType

public final int getTransferType()
Returns the Transfer Type

Returns:
transfer type code

addTransfer

public final void addTransfer(PlayerTransfer transfer)
Add a transfer for the specified player

Parameters:
transfer - The Transfer Detail


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