ch3.dataBean
Class RequestData

java.lang.Object
  extended by ch3.dataBean.RequestData

public class RequestData
extends java.lang.Object

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

hobby

protected java.lang.String hobby
Stores the value of the hobby element.


aversion

protected java.lang.String aversion
Stores the value of the aversion element.

Constructor Detail

RequestData

public RequestData()
Creates a new instance of RequestData

Method Detail

setHobby

public void setHobby(java.lang.String hobby)
Mutator for the hobby element.

Parameters:
hobby - The new value to store in the hobby.

getHobby

public java.lang.String getHobby()
Accessor for the hobby element.

Returns:
The current value of the hobby.

setAversion

public void setAversion(java.lang.String aversion)
Mutator for the aversion element.

Parameters:
aversion - The new value to store in the aversion.

getAversion

public java.lang.String getAversion()
Accessor for the aversion element.

Returns:
The current value of the aversion.