Class MetaForm


  • public class MetaForm
    extends java.lang.Object
    The 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
      void addElement​(MetaFormField element)
      Adds element of the form.
      void addTarget​(java.lang.String target)
      Adds recipients of the submitted form.
      java.lang.String getAction()
      Getter for the field action.
      java.util.List<MetaFormField> getElements()
      Getter for the field elements.
      java.lang.String getId()
      Getter for the field id.
      java.lang.String getPath()
      Getter for the field path.
      java.util.List<java.lang.String> getTargets()
      Getter for the field targets.
      void setAction​(java.lang.String action)
      Setter for the field action.
      void setElements​(java.util.List<MetaFormField> elements)
      Setter for the field elements.
      void setPath​(java.lang.String path)
      Setter for the field path.
      void setTargets​(java.util.List<java.lang.String> targets)
      Setter for the field targets.
      java.lang.String toString()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MetaForm

        public MetaForm​(java.lang.String anId)
        Default constructor.
        Parameters:
        anId - a String object.
    • 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:
        toString in class java.lang.Object