CommcareForm

public class CommcareForm

Represents a single CommCare form. Form is a series of questions and prompts that the user views sequentially on the phone. This is pretty much the core content of CommCare applications. When users submit data, they submit completed forms. Forms are based on the XForms standard.

Methods

getAppId

public String getAppId()

getConfigName

public String getConfigName()

getForm

public FormValueElement getForm()

getId

public String getId()

getMd5

public String getMd5()

getMetadata

public Map<String, MetadataValue> getMetadata()

getReceivedOn

public String getReceivedOn()

getResourceUri

public String getResourceUri()

getType

public String getType()

getUiversion

public String getUiversion()

getVersion

public String getVersion()

isArchived

public boolean isArchived()

setAppId

public void setAppId(String appId)

setArchived

public void setArchived(boolean archived)

setConfigName

public void setConfigName(String configName)

setForm

public void setForm(FormValueElement form)

setId

public void setId(String id)

setMd5

public void setMd5(String md5)

setMetadata

public void setMetadata(Map<String, MetadataValue> metadata)

setReceivedOn

public void setReceivedOn(String receivedOn)

setResourceUri

public void setResourceUri(String resourceUri)

setType

public void setType(String type)

setUiversion

public void setUiversion(String uiversion)

setVersion

public void setVersion(String version)