MetaElement

public class MetaElement

Represents a meta element in an XML document.

Constructors

MetaElement

public MetaElement(String xmlns, String instanceID, String timeStart, String timeEnd, String userId)

Creates a meta XML element with maximum of five sub-elements - xmlns, instanceId, timeStart, timeEnd, userId. Values of those elements will be equal to the given parameters. If any of the parameters is null the related element won’t be added.

Parameters:
  • xmlns – the value of the xmlns element, which should contain the namespace of the XML element
  • instanceID – the value of the instanceId element, which should contain the ID of the instance
  • timeStart – the value of the timeStart element, which should contain the start of the time range for which cases will be fetched
  • timeEnd – the value of the timeEnd element, which should contain the end of the time range for which cases will be fetched
  • userId – the value of the userId element, which should contain the ID of the user

Methods

getInstanceID

public String getInstanceID()

getTimeEnd

public String getTimeEnd()

getTimeStart

public String getTimeStart()

getUserID

public String getUserID()

getXmlns

public String getXmlns()