Package org.enhydra.shark.xpdl.elements

Examples of org.enhydra.shark.xpdl.elements.DataFields


    protected void createDefaultVariable(Transition transition, String variableName) {
        WorkflowProcess process = (WorkflowProcess) transition.getParent().getParent();
        Map dataFieldMap = XMLUtil.getPossibleDataFields(process);
        if (dataFieldMap.isEmpty() || dataFieldMap.get(variableName) == null) {
            // default variable does not exist, create new one
            DataFields dfs = process.getDataFields();
            DataField df = (DataField)dfs.generateNewElement();
            df.setId(variableName);
            dfs.add(df);
        }
    }
View Full Code Here

TOP

Related Classes of org.enhydra.shark.xpdl.elements.DataFields

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.