|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectshared.PersistentBase
ch7.accountLogin.RequestDataAccount
public class RequestDataAccount
The bean has an additional field for the account number.
Field Summary | |
---|---|
protected java.lang.String |
accountNumber
Stores the value of the accountNumber element. |
protected java.lang.String |
aversion
Stores the value of the aversion element. |
protected java.lang.String |
hobby
Stores the value of the hobby element. |
Fields inherited from class shared.PersistentBase |
---|
id |
Constructor Summary | |
---|---|
RequestDataAccount()
Needed to retrieve data from hibernate |
Method Summary | |
---|---|
java.lang.String |
getAccountNumber()
Accessor for the accountNumber element. |
java.lang.String |
getAversion()
Accessor for the aversion element. |
java.lang.String |
getHobby()
Accessor for the hobby element. |
void |
setAccountNumber(java.lang.String accountNumber)
Mutator for the accountNumber element. |
void |
setAversion(java.lang.String aversion)
Mutator for the aversion element. |
void |
setHobby(java.lang.String hobby)
Mutator for the aversion element. |
Methods inherited from class shared.PersistentBase |
---|
getId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String hobby
protected java.lang.String aversion
protected java.lang.String accountNumber
Constructor Detail |
---|
public RequestDataAccount()
Method Detail |
---|
@Pattern(regex="[a-zA-Z]{2}\\d{3}", message="must be in the format AA999.") public java.lang.String getAccountNumber()
public void setAccountNumber(java.lang.String accountNumber)
accountNumber
- The new value to store in the aversion.@Pattern(regex=".*[^\\s].*", message="cannot be empty") public java.lang.String getHobby()
public void setHobby(java.lang.String hobby)
hobby
- The new value to store in the aversion.@Pattern(regex=".*[^\\s].*", message="cannot be empty") public java.lang.String getAversion()
public void setAversion(java.lang.String aversion)
aversion
- The new value to store in the aversion.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |