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 Summary
FieldsFields inherited from interface com.appiancorp.suiteapi.common.JSONable
hiddenAttributes$TRANSIENT
Fields inherited from interface com.appiancorp.suiteapi.common.XMLable
DEFAULT_BUFFER_SIZE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Clone this object.static DynamicForm
Creates a form from xmlstatic DynamicForm
fromXML
(Node node, FormElement.InferFormElementCallback callback) boolean
Gets whether the form contains a local fileGets the elements of the formReturns the set of attributes (properties) that should not be included in the JSON representation of the object.Gets the instructions for the formboolean
Whether the form will display instructionsvoid
setDisplayInstructions
(boolean displayInstructions_) Sets if the form will display instructionsvoid
setElements
(FormElement[] elements_) Sets the elements of the formvoid
setInstructions
(String instructions_) Sets the instructions for the formtoXML()
Converts the form to xmlvoid
toXML
(StringBuilder buffer_) Converts the from to xml
-
Field Details
-
LOG
protected static final org.apache.log4j.Logger LOG
-
-
Constructor Details
-
DynamicForm
public DynamicForm()
-
-
Method Details
-
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 interfaceJSONable
- Returns:
- the set of hidden attributes
-
clone
Clone this object.- Specified by:
clone
in interfaceDeepCloneable
- Overrides:
clone
in classObject
- 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
Gets the instructions for the form- Returns:
- the instructions for the form
-
setInstructions
Sets the instructions for the form- Parameters:
instructions_
- the instructions to set for the form- See Also:
-
getElements
Gets the elements of the form- Returns:
- the elements of the form
-
setElements
Sets the elements of the form- Parameters:
elements_
- the elements to set on the form- See Also:
-
toXML
Converts the form to xml -
toXML
Converts the from to xml -
fromXML
Creates a form from xml- Parameters:
dNode
- the xml to create the form from- Returns:
- a
DynamicForm
created from the xml
-
fromXML
-