Package org.openbp.core.model.item.process

Examples of org.openbp.core.model.item.process.ProcessVariable.maintainReferences()


    VariablesContainer container = (VariablesContainer) editedObject;

    for (Iterator it = container.getProcessVariables(); it.hasNext();)
    {
      ProcessVariable param = (ProcessVariable) it.next();
      param.maintainReferences(ModelObject.VALIDATE_BASIC | ModelObject.RESOLVE_GLOBAL_REFS);
    }

    checkNameUniqueness(container);

    // Print errors and return if any have been found
View Full Code Here


    name = NamedObjectCollectionUtil.createUniqueId(paramList, name);
    param.setName(name);

    // Add the new parameter to the process
    currentProcess.addProcessVariable(param);
    param.maintainReferences(ModelObject.SYNC_GLOBAL_REFNAMES | ModelObject.SYNC_LOCAL_REFNAMES);

    // Redisplay the param list
    showParams();

    // We modified the current object by adding a parameter
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.