|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ch3.dataBean.RequestData
public class RequestData
The bean encapsulates the data for the application.
The names of the accessor and mutator must agree with the name of the form elements in the HTML form that the user submitted.
If the name of the form element is hobby, then the names of the accessor and mutator must be getHobby and setHobby.
Field Summary | |
---|---|
protected java.lang.String |
aversion
Stores the value of the aversion element. |
protected java.lang.String |
hobby
Stores the value of the hobby element. |
Constructor Summary | |
---|---|
RequestData()
Creates a new instance of RequestData |
Method Summary | |
---|---|
java.lang.String |
getAversion()
Accessor for the aversion element. |
java.lang.String |
getHobby()
Accessor for the hobby element. |
void |
setAversion(java.lang.String aversion)
Mutator for the aversion element. |
void |
setHobby(java.lang.String hobby)
Mutator for the hobby element. |
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
Constructor Detail |
---|
public RequestData()
Method Detail |
---|
public void setHobby(java.lang.String hobby)
hobby
- The new value to store in the hobby.public java.lang.String getHobby()
public void setAversion(java.lang.String aversion)
aversion
- The new value to store in the aversion.public java.lang.String getAversion()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |