Package com.consol.citrus.http.model
Class FormData
- java.lang.Object
-
- com.consol.citrus.http.model.FormData
-
public class FormData extends Object
- Author:
- Christoph Deppisch
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFormData.Controls
-
Field Summary
Fields Modifier and Type Field Description protected Stringactionprotected StringcontentTypeprotected FormData.Controlscontrols
-
Constructor Summary
Constructors Constructor Description FormData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddControl(Control control)Adds new form control.StringgetAction()Gets the action.StringgetContentType()Gets the content type.FormData.ControlsgetControls()Gets the controls.voidsetAction(String action)Sets the action.voidsetContentType(String contentType)Sets the content type.voidsetControls(FormData.Controls controls)Sets the controls.
-
-
-
Field Detail
-
contentType
protected String contentType
-
action
protected String action
-
controls
protected FormData.Controls controls
-
-
Method Detail
-
getContentType
public String getContentType()
Gets the content type.- Returns:
-
setContentType
public void setContentType(String contentType)
Sets the content type.- Parameters:
contentType-
-
getAction
public String getAction()
Gets the action.- Returns:
-
setAction
public void setAction(String action)
Sets the action.- Parameters:
action-
-
getControls
public FormData.Controls getControls()
Gets the controls.- Returns:
-
setControls
public void setControls(FormData.Controls controls)
Sets the controls.- Parameters:
controls-
-
addControl
public void addControl(Control control)
Adds new form control.- Parameters:
control-
-
-