@Named @ViewScoped public class IndividualBean extends Object implements Serializable
| Constructor and Description |
|---|
IndividualBean() |
| Modifier and Type | Method and Description |
|---|---|
Person |
getPerson()
Returns the currently set person.
|
int |
getPersonId()
Returns the id of the current
Person. |
Person |
getTempPerson() |
void |
setPerson(Person person)
Sets the person to be viewed.
|
void |
setPersonId(int personId)
Sets the current
Person based on the personId. |
void |
setTempPerson(Person tempPerson) |
void |
updatePerson() |
public int getPersonId()
Person.PersonPerson.getId()public void setPersonId(int personId)
Person based on the personId.personId - the id of the Person to be setPersonDataBeanpublic Person getPerson()
public void setPerson(Person person)
person - the person to be viewedpublic Person getTempPerson()
public void setTempPerson(Person tempPerson)
tempPerson - public void updatePerson()
Copyright © 2015 Joseph Hendrix