FormSchemaJson

public class FormSchemaJson implements Serializable

Represents a single CommCare form schema.

Methods

getFormName

public String getFormName()

Gets form name for English locale, or if English locale is not present, then returns the first one found.

Returns:Form name for English locale, or random one, if not found

getFormNames

public Map<String, String> getFormNames()

getQuestions

public List<FormSchemaQuestionJson> getQuestions()

getXmlns

public String getXmlns()

setFormNames

public void setFormNames(Map<String, String> formNames)

setQuestions

public void setQuestions(List<FormSchemaQuestionJson> questions)

setXmlns

public void setXmlns(String xmlns)