edu.uoc.pfc.j2ee.jalonsod.mtp.config
Class Form
java.lang.Object
edu.uoc.pfc.j2ee.jalonsod.mtp.config.Form
public class Form
- extends java.lang.Object
File: Form.java
Created: 2012-04-22
Form configuration metadata.
A form is a group of parameters submitted by the user in a single request. Requests with the same
group of parameters can be of the same Form if they share the metadata information.
When a user submits a form, its parameters are loaded into a FormInsance
and the
Form
contains the metadata to manipulate those parameters.
- Author:
- José Alonso de Motta
- See Also:
Parameter
,
FormInstance
Constructor Summary |
Form(java.lang.String name,
java.util.Hashtable<java.lang.String,Parameter> parameters)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
name
private java.lang.String name
parameters
private java.util.Hashtable<java.lang.String,Parameter> parameters
Form
public Form(java.lang.String name,
java.util.Hashtable<java.lang.String,Parameter> parameters)
throws ConfiguratorException
- Throws:
ConfiguratorException
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
throws ConfiguratorException
- Throws:
ConfiguratorException
getParameters
public java.util.Hashtable<java.lang.String,Parameter> getParameters()
setParameters
public void setParameters(java.util.Hashtable<java.lang.String,Parameter> parameters)
throws ConfiguratorException
- Throws:
ConfiguratorException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object