Package com.uc4.api
Class Form
- java.lang.Object
-
- com.uc4.api.Form
-
-
Constructor Summary
Constructors Constructor Description Form(org.w3c.dom.Document result)Creates a Read Object from a Document.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAcv()Returns the address for the communication.java.lang.StringgetFormTitle()Returns the title of this form.java.lang.StringgetIdnr()Returns the ID of the Request.booleanisSent()Returns a flag to indicate if this form has been sent to the Automation Engine.java.util.Iterator<IFormItem>iterator()Returns ajava.util.Iteratorto get allFormItemin this form.voidsetSentFlag()Called when this Form is submitted.intsize()Returns the number of controls in form.
-
-
-
Method Detail
-
size
public int size()
Returns the number of controls in form.- Returns:
- Number of controls
-
iterator
public java.util.Iterator<IFormItem> iterator()
Returns ajava.util.Iteratorto get allFormItemin this form.- Specified by:
iteratorin interfacejava.lang.Iterable<IFormItem>- Returns:
- Iterator
-
getFormTitle
public java.lang.String getFormTitle()
Returns the title of this form.- Returns:
- form title
-
getAcv
public java.lang.String getAcv()
Returns the address for the communication.- Returns:
- address
-
isSent
public boolean isSent()
Returns a flag to indicate if this form has been sent to the Automation Engine.- Returns:
- Returns
trueif this form was already submitted;falseif not.
-
setSentFlag
public void setSentFlag()
Called when this Form is submitted.
-
getIdnr
public java.lang.String getIdnr()
Returns the ID of the Request.- Returns:
- ID
-
-