DecisionTable decisionTable = modelInstance.getModelElementById("decisionTable1");
// read attributes by helper methods
String outputLabel = decisionTable.getOutputLabel();
Collection<Input> inputs = decisionTable.getInputs();
// edit attributes by helper methods
decisionTable.setOutputLabel("new-label");
// read attributes by generic XML model API (with optional namespace)
String custom1 = decisionTable.getAttributeValue("custom-attribute");
String custom2 = decisionTable.getAttributeValueNs("custom-attribute-2",
"http://camunda.org/custom");
// edit attributes by generic XML model API (with optional namespace)
decisionTable.setAttributeValue("custom-attribute", "new value");
decisionTable.setAttributeValueNs("custom-attribute",
"http://camunda.org/custom", "new value");