Class DynamicForm

java.lang.Object
com.appiancorp.suiteapi.process.forms.DynamicForm
All Implemented Interfaces:
DeepCloneable, JSONable, JSONCacheable, XMLable, Serializable, Cloneable

public class DynamicForm extends Object implements XMLable, JSONCacheable, DeepCloneable, Serializable
Bean representing dynamic forms
See Also:
  • Field Details

    • LOG

      protected static final org.apache.log4j.Logger LOG
  • Constructor Details

    • DynamicForm

      public DynamicForm()
  • Method Details

    • getHiddenAttributes

      public HashSet getHiddenAttributes()
      Description copied from interface: JSONable
      Returns the set of attributes (properties) that should not be included in the JSON representation of the object.
      Specified by:
      getHiddenAttributes in interface JSONable
      Returns:
      the set of hidden attributes
    • clone

      public Object clone()
      Clone this object.
      Specified by:
      clone in interface DeepCloneable
      Overrides:
      clone in class Object
      Returns:
    • getContainsLocalFile

      public boolean getContainsLocalFile()
      Gets whether the form contains a local file
      Returns:
      whether the form contains a local file
    • isDisplayInstructions

      public boolean isDisplayInstructions()
      Whether the form will display instructions
      Returns:
      Whether the form will display instructions
    • setDisplayInstructions

      public void setDisplayInstructions(boolean displayInstructions_)
      Sets if the form will display instructions
      Parameters:
      displayInstructions_ - if the form will display instructions
      See Also:
    • getInstructions

      public String getInstructions()
      Gets the instructions for the form
      Returns:
      the instructions for the form
    • setInstructions

      public void setInstructions(String instructions_)
      Sets the instructions for the form
      Parameters:
      instructions_ - the instructions to set for the form
      See Also:
    • getElements

      public FormElement[] getElements()
      Gets the elements of the form
      Returns:
      the elements of the form
    • setElements

      public void setElements(FormElement[] elements_)
      Sets the elements of the form
      Parameters:
      elements_ - the elements to set on the form
      See Also:
    • toXML

      public String toXML()
      Converts the form to xml
      Specified by:
      toXML in interface XMLable
      Returns:
      the xml representation of the form
    • toXML

      public void toXML(StringBuilder buffer_)
      Converts the from to xml
      Specified by:
      toXML in interface XMLable
      Parameters:
      buffer_ - the buffer to store the xml in
    • fromXML

      public static DynamicForm fromXML(Node dNode)
      Creates a form from xml
      Parameters:
      dNode - the xml to create the form from
      Returns:
      a DynamicForm created from the xml
    • fromXML

      public static DynamicForm fromXML(Node node, FormElement.InferFormElementCallback callback)