GetXmlElementNameOverride method

  1. @override
String GetXmlElementNameOverride()
override
This methods lets subclasses of ServiceObject override the default mechanism by which the XML element name associated with their type is retrieved.

Implementation

@override
String GetXmlElementNameOverride() {
  if (this.tentative!) {
    return XmlElementNames.TentativelyAcceptItem;
  } else {
    return XmlElementNames.AcceptItem;
  }
}