/** * @return the name of the replacement node, if one is given in the node name mapping, or the * old node name */ private String getReplacementNodeName(GraphElement oldNode) { String oldName = oldNode instanceof Node ? ((Node) oldNode).getFullyQualifiedName() : oldNode.getName(); if (nodeNameMapping != null && nodeNameMapping.containsKey(oldName)) { return (String) nodeNameMapping.get(oldName); } // return new node name = old node name as default return oldName; }
/** * @return the name of the replacement node, if one is given in the node name mapping, or the * old node name */ private String getReplacementNodeName(GraphElement oldNode) { String oldName = oldNode instanceof Node ? ((Node) oldNode).getFullyQualifiedName() : oldNode.getName(); if (nodeNameMapping != null && nodeNameMapping.containsKey(oldName)) { return (String) nodeNameMapping.get(oldName); } // return new node name = old node name as default return oldName; }
addWarning("node '" + node.getFullyQualifiedName() + "' has a transition without a 'to'-attribute");
if (initialNodeName != null && initialNodeName.equals(node.getFullyQualifiedName())) { processDefinition.setStartState(node);
if (initialNodeName != null && initialNodeName.equals(node.getFullyQualifiedName())) { processDefinition.setStartState(node);
addWarning("node '" + node.getFullyQualifiedName() + "' has a transition without a 'to'-attribute");