Package org.activiti.bpmn.model

Examples of org.activiti.bpmn.model.DataStoreReference


    return ELEMENT_DATA_STORE_REFERENCE;
  }
 
  @Override
  protected BaseElement convertXMLToElement(XMLStreamReader xtr, BpmnModel model) throws Exception {
    DataStoreReference dataStoreRef = new DataStoreReference();
    BpmnXMLUtil.addXMLLocation(dataStoreRef, xtr);
    parseChildElements(getXMLElementName(), dataStoreRef, model, xtr);
    return dataStoreRef;
  }
View Full Code Here


    return dataStoreRef;
  }

  @Override
  protected void writeAdditionalAttributes(BaseElement element, BpmnModel model, XMLStreamWriter xtw) throws Exception {
    DataStoreReference dataStoreRef = (DataStoreReference) element;
    if (StringUtils.isNotEmpty(dataStoreRef.getDataStoreRef())) {
      xtw.writeAttribute(ATTRIBUTE_DATA_STORE_REF, dataStoreRef.getDataStoreRef());
    }
   
    if (StringUtils.isNotEmpty(dataStoreRef.getItemSubjectRef())) {
      xtw.writeAttribute(ATTRIBUTE_ITEM_SUBJECT_REF, dataStoreRef.getItemSubjectRef());
    }
  }
View Full Code Here

    }
  }
 
  @Override
  protected void writeAdditionalChildElements(BaseElement element, BpmnModel model, XMLStreamWriter xtw) throws Exception {
    DataStoreReference dataStoreRef = (DataStoreReference) element;
    if (StringUtils.isNotEmpty(dataStoreRef.getDataState())) {
      xtw.writeStartElement(ELEMENT_DATA_STATE);
      xtw.writeCharacters(dataStoreRef.getDataState());
      xtw.writeEndElement();
    }
  }
View Full Code Here

TOP

Related Classes of org.activiti.bpmn.model.DataStoreReference

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.