private string CreateExecutionOccurrenceSpecElement(XmlElement parentElement,string executionSpecificationID,XmlElement lifelineElement)
 {
     string executionOccurrenceSpecID=null;
     ExecutionOccurrenceSpecElementCreator elementCreator=
         new ExecutionOccurrenceSpecElementCreator(this.XmiDocument,this.XmiDocumentBuilder);
     XmlElement executionOccurrenceSpecElement=
         elementCreator.CreateExecutionOccurrenceSpecElement(parentElement,executionSpecificationID,lifelineElement);
     executionOccurrenceSpecID=executionOccurrenceSpecElement.GetAttribute(UmlModel.XMI_ID_ATTR_COMPLETE_NAME);
     return executionOccurrenceSpecID;
 }
 public XmlElement AddExecutionOccurrenceSpecificationElement(XmlElement parentElement,string executionSpecificationID, XmlElement lifelineElement)
 {
     ExecutionOccurrenceSpecElementCreator elementCreator= new ExecutionOccurrenceSpecElementCreator(xmiDocument,this);
     XmlElement newExecutionOccurrenceSpecElement=elementCreator.CreateExecutionOccurrenceSpecElement(parentElement,executionSpecificationID,lifelineElement);
     return newExecutionOccurrenceSpecElement;
 }