@Test public void testGetValue() { BaseElement baseElement = bpmn2.createProcess(); CustomElement.globalVariables.of(baseElement).set(GLOBAL_VARIABLES); assertEquals(GLOBAL_VARIABLES, CustomElement.globalVariables.of(baseElement).get()); }
@Override public String getValue(BaseElement element) { return getStringValue(element) .orElse(getDefaultValue()); }
GlobalVariablesElement extends ElementDefinition<String> { @Override public String getValue(BaseElement element) { return getStringValue(element) .orElse(getDefaultValue()); } }
GlobalVariablesElement extends ElementDefinition<String> { @Override public String getValue(BaseElement element) { return getStringValue(element) .orElse(getDefaultValue()); } GlobalVariablesElement(String name); }
GlobalVariablesElement extends ElementDefinition<String> { @Override public String getValue(BaseElement element) { return getStringValue(element) .orElse(getDefaultValue()); } GlobalVariablesElement(String name); @Override String getValue(BaseElement element); @Override void setValue(BaseElement element, String value); }
GlobalVariablesElement extends ElementDefinition<String> { @Override public String getValue(BaseElement element) { return getStringValue(element) .orElse(getDefaultValue()); } GlobalVariablesElement(String name); @Override String getValue(BaseElement element); @Override void setValue(BaseElement element, String value);  }