private ItemDefinition typedefInput(String name, String type) { ItemDefinition typeDef = bpmn2.createItemDefinition(); typeDef.setId(Ids.dataInputItem(element.getId(), name)); typeDef.setStructureRef(type); return typeDef; } }
public InitializedVariable(String parentId, VariableDeclaration varDecl) { this.identifier = varDecl.getIdentifier(); this.type = varDecl.getType(); this.itemDefinition = bpmn2.createItemDefinition(); itemDefinition.setId(Ids.item(parentId)); itemDefinition.setStructureRef(getType()); }
String kpiValue = ""; if (vardefParts.length == 3) { itemdef.setStructureRef(vardefParts[1]); if (vardefParts[2].equals("true")) { haveKPI = true; itemdef.setStructureRef(vardefParts[1]); String kpiValue = ""; if (vardefParts.length == 3) { itemdef.setStructureRef(vardefParts[1]); if (vardefParts[2].equals("true")) { haveKPI = true; itemdef.setStructureRef(vardefParts[1]);
public VariableDeclaration(String identifier, String type) { this.identifier = identifier; this.type = type; this.typeDeclaration = bpmn2.createItemDefinition(); this.typeDeclaration.setId(Ids.item(identifier)); this.typeDeclaration.setStructureRef(type); this.typedIdentifier = bpmn2.createProperty(); this.typedIdentifier.setId(Ids.typedIdentifier("GLOBAL", identifier)); this.typedIdentifier.setName(identifier); this.typedIdentifier.setItemSubjectRef(typeDeclaration); }
ItemDefinition itemdef = Bpmn2Factory.eINSTANCE.createItemDefinition(); itemdef.setId("_" + din.getId() + "Item"); itemdef.setStructureRef(dinType); toAddItemDefinitions.add(itemdef); din.setItemSubjectRef(itemdef); ItemDefinition itemdef = Bpmn2Factory.eINSTANCE.createItemDefinition(); itemdef.setId("_" + dout.getId() + "Item"); itemdef.setStructureRef(doutType); toAddItemDefinitions.add(itemdef); dout.setItemSubjectRef(itemdef);
Variable(String parentScopeId, String identifier, String type) { this.parentScopeId = parentScopeId; this.declaration = new VariableDeclaration(identifier, type); this.typeDeclaration = bpmn2.createItemDefinition(); this.typeDeclaration.setId(Ids.item(identifier)); this.typeDeclaration.setStructureRef(type); this.typedIdentifier = bpmn2.createProperty(); this.typedIdentifier.setId(Ids.typedIdentifier(parentScopeId, identifier)); this.typedIdentifier.setName(identifier); this.typedIdentifier.setItemSubjectRef(typeDeclaration); }
String kpiValue = ""; if (vardefParts.length == 3) { itemdef.setStructureRef(vardefParts[1]); if (vardefParts[2].equals("true")) { haveKPI = true; itemdef.setStructureRef(vardefParts[1]);
String typeValue = (String) entry.getValue(); if (typeValue != null && !typeValue.equals("None")) { itemdef.setStructureRef((String) entry.getValue());