Package com.catify.processengine.core.processdefinition.jaxb

Examples of com.catify.processengine.core.processdefinition.jaxb.TVersion


    if (processJaxb.getExtensionElements() != null) {
      for (Object extensionElement : processJaxb.getExtensionElements().getAny()) {
        if (extensionElement instanceof JAXBElement && (((JAXBElement<?>) extensionElement).getValue() instanceof TVersion) ) {
 
          JAXBElement<?> jaxbElement = (JAXBElement<?>) extensionElement;
          TVersion versionJaxb = (TVersion) ((JAXBElement<?>) jaxbElement).getValue();
 
          return versionJaxb;
        }
      }
    }
    // if user has not defined a process version create empty version
    return new TVersion();
  }
View Full Code Here

TOP

Related Classes of com.catify.processengine.core.processdefinition.jaxb.TVersion

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.