|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objecthoplugins.transfers.vo.PlayerTransfer
Value Object representing a player transfer.
| Field Summary | |
static int |
BUY
Type to indicate a BUY transfer |
static int |
REBOUGHT
Type to indicate a SELL transfer |
static int |
SELL
Type to indicate a SELL transfer |
| Constructor Summary | |
PlayerTransfer(int transferid,
int playerid)
Creates an instance of PlayerTransfer representing a player transfer. |
|
| Method Summary | |
int |
getBuyerid()
Gets the id of the buyer team. |
java.lang.String |
getBuyerName()
Gets the name of the buyer team. |
java.sql.Timestamp |
getDate()
Gets the transfer date |
int |
getMarketvalue()
Gets the market value of the player on transfer date. |
int |
getPlayerId()
Gets the id of the transfered player. |
plugins.ISpieler |
getPlayerInfo()
Gets the information about the player on transfer date. |
java.lang.String |
getPlayerName()
Gets the name of the transfered player. |
int |
getPrice()
Gets the tranfer price. |
int |
getSeason()
Gets the season number. |
int |
getSellerid()
Gets the id of the seller team. |
java.lang.String |
getSellerName()
Gets the name of the seller team. |
int |
getTransferID()
Gets the id of the transfer. |
int |
getTsi()
Gets the TSI value when player was tranfered. |
int |
getType()
Gets the transfer type. |
int |
getWeek()
Gets the week number. |
void |
setBuyerid(int id)
Sets the id of the buyer team. |
void |
setBuyerName(java.lang.String name)
Sets the name of the buyer team. |
void |
setDate(java.sql.Timestamp date)
Sets the transfer date |
void |
setMarketvalue(int value)
Sets the market value of the player on transfer date. |
void |
setPlayerInfo(plugins.ISpieler info)
Sets the information about the player on transfer date. |
void |
setPlayerName(java.lang.String name)
Sets the name of the transfered player. |
void |
setPrice(int price)
Sets the transfer price. |
void |
setSeason(int season)
Gets the season number. |
void |
setSellerid(int id)
Sets the id of the seller team. |
void |
setSellerName(java.lang.String name)
Sets the name of the seller team. |
void |
setTsi(int tsi)
Sets the TSI value when player was tranfered. |
void |
setWeek(int week)
Gets the week number. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int BUY
public static final int SELL
public static final int REBOUGHT
| Constructor Detail |
public PlayerTransfer(int transferid,
int playerid)
transferid - Id of the transferplayerid - Id of the transferred player| Method Detail |
public final void setBuyerName(java.lang.String name)
name - name of the buyer teampublic final java.lang.String getBuyerName()
public final void setBuyerid(int id)
id - Id of the buyer teampublic final int getBuyerid()
public final void setDate(java.sql.Timestamp date)
date - Transfer datepublic final java.sql.Timestamp getDate()
public final void setMarketvalue(int value)
value - Market value of the player on transfer date.public final int getMarketvalue()
public final int getPlayerId()
public final void setPlayerInfo(plugins.ISpieler info)
info - Player information on transfer date.public final plugins.ISpieler getPlayerInfo()
nullpublic final void setPlayerName(java.lang.String name)
name - Name of the transfered player.public final java.lang.String getPlayerName()
public final void setPrice(int price)
price - Transfer price.public final int getPrice()
public final void setSeason(int season)
season - number on transfer datepublic final int getSeason()
public final void setSellerName(java.lang.String name)
name - Name of the seller team.public final java.lang.String getSellerName()
public final void setSellerid(int id)
id - Id of the seller team.public final int getSellerid()
public final int getTransferID()
public final void setTsi(int tsi)
tsi - TSI value on transfer date.public final int getTsi()
public final int getType()
public final void setWeek(int week)
week - number on transfer datepublic final int getWeek()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||