CaseRequest¶
-
public class
CaseRequest¶ Represents a case XML request that can be sent to the CommCareHQ server.
Constructors¶
CaseRequest¶
-
public
CaseRequest(String caseId, String userId, String dateModified, String dataXmlns)¶ Creates a case request with the caseId attribute set to
caseId, the userId attribute touserId, the dateModified attribute set todateModifiedand the dataXmlns attribute set todataXmlns.Parameters: - caseId – the value of the caseId attribute, which should be the ID of the case
- userId – the value of the userId attribute, which should be the ID of the user
- dateModified – the value of the dateModified attribute, which should be the last modification date
- dataXmlns – the value of the dataXmlns attribute, which should be the namespace of the XML element
Methods¶
getCloseElement¶
-
public CloseElement
getCloseElement()¶
getCreateElement¶
-
public CreateElement
getCreateElement()¶
getUpdateElement¶
-
public UpdateTask
getUpdateElement()¶
setCloseElement¶
-
public void
setCloseElement(CloseElement closeElement)¶
setCreateElement¶
-
public void
setCreateElement(CreateElement createElement)¶
setUpdateElement¶
-
public void
setUpdateElement(UpdateTask updateElement)¶