Class MetaForm
- java.lang.Object
-
- net.anotheria.asg.generator.forms.meta.MetaForm
-
public class MetaForm extends java.lang.ObjectThe MetaInformation object which holds all data for a web-feedback-form.- Version:
- $Id: $Id
- Author:
- lrosenberg
-
-
Constructor Summary
Constructors Constructor Description MetaForm(java.lang.String anId)Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddElement(MetaFormField element)Adds element of the form.voidaddTarget(java.lang.String target)Adds recipients of the submitted form.java.lang.StringgetAction()Getter for the fieldaction.java.util.List<MetaFormField>getElements()Getter for the fieldelements.java.lang.StringgetId()Getter for the fieldid.java.lang.StringgetPath()Getter for the fieldpath.java.util.List<java.lang.String>getTargets()Getter for the fieldtargets.voidsetAction(java.lang.String action)Setter for the fieldaction.voidsetElements(java.util.List<MetaFormField> elements)Setter for the fieldelements.voidsetPath(java.lang.String path)Setter for the fieldpath.voidsetTargets(java.util.List<java.lang.String> targets)Setter for the fieldtargets.java.lang.StringtoString()
-
-
-
Method Detail
-
addTarget
public void addTarget(java.lang.String target)
Adds recipients of the submitted form.- Parameters:
target- target to add
-
addElement
public void addElement(MetaFormField element)
Adds element of the form.- Parameters:
element- element to add
-
getElements
public java.util.List<MetaFormField> getElements()
Getter for the field
elements.- Returns:
- Returns the elements.
-
setElements
public void setElements(java.util.List<MetaFormField> elements)
Setter for the field
elements.- Parameters:
elements- The elements to set.
-
getTargets
public java.util.List<java.lang.String> getTargets()
Getter for the field
targets.- Returns:
- Returns the targets.
-
setTargets
public void setTargets(java.util.List<java.lang.String> targets)
Setter for the field
targets.- Parameters:
targets- The targets to set.
-
getId
public java.lang.String getId()
Getter for the field
id.- Returns:
- Returns the id.
-
getPath
public java.lang.String getPath()
Getter for the field
path.- Returns:
- Returns the path.
-
setPath
public void setPath(java.lang.String path)
Setter for the field
path.- Parameters:
path- The path to set.
-
getAction
public java.lang.String getAction()
Getter for the field
action.- Returns:
- Returns the action.
-
setAction
public void setAction(java.lang.String action)
Setter for the field
action.- Parameters:
action- The action to set.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-