CreateElement

public class CreateElement

Represents a create element in an XML document.

Constructors

CreateElement

public CreateElement(String caseType, String caseName, String ownerId)

Creates a new create XML element with maximum of three sub-elements - caseType, caseName and ownerId. 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:
  • caseType – the value of the caseType element, which should contain the type of the case
  • caseName – the value of the caseName element, which should contain the name of the case
  • ownerId – the value of the ownerId element, which should contain the ID of the owner

Methods

getCaseName

public String getCaseName()

getCaseType

public String getCaseType()

getOwnerId

public String getOwnerId()

setCaseName

public void setCaseName(String caseName)

setCaseType

public void setCaseType(String caseType)

setOwnerId

public void setOwnerId(String ownerId)