@Named(value="newPlayer") @ViewScoped public class NewPlayerManagedBean extends Object implements Serializable
| Constructor and Description |
|---|
NewPlayerManagedBean() |
| Modifier and Type | Method and Description |
|---|---|
String |
doAddPlayer()
Register a new
Player for the Team |
ligaaas.teamc.domain.Player |
getNewPlayer()
Return the
Player that will be persisted |
String |
getNewPlayerTeam()
Returns the id of the
Team. |
void |
init()
Initializes the ManagedBean.
|
void |
setNewPlayer(ligaaas.teamc.domain.Player newPlayer)
Sets the
Player that will be persisted |
void |
setNewPlayerTeam(String newPlayerTeam)
Sets the id of the
Team. |
@PostConstruct public void init()
public ligaaas.teamc.domain.Player getNewPlayer()
Player that will be persistedPlayer that will be persistedpublic void setNewPlayer(ligaaas.teamc.domain.Player newPlayer)
Player that will be persistednewPlayer - the Player that will be persistedpublic String getNewPlayerTeam()
Team.Team.public void setNewPlayerTeam(String newPlayerTeam)
Team.newPlayerTeam - the id of Team.public String doAddPlayer()
Player for the TeamCopyright © 2018. All rights reserved.