All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openbpmn.bpmn.elements.DataStoreReference Maven / Gradle / Ivy

There is a newer version: 1.2.2
Show newest version
package org.openbpmn.bpmn.elements;

import org.openbpmn.bpmn.BPMNModel;
import org.openbpmn.bpmn.BPMNTypes;
import org.openbpmn.bpmn.elements.core.BPMNElementNode;
import org.openbpmn.bpmn.exceptions.BPMNModelException;
import org.w3c.dom.Element;

/**
 * A DataStoreReference is the primary construct for modeling data within the
 * Process
 * flow.
 * 

* Data Object elements MUST be contained within Process or Sub- Process * elements. Data Object elements are visually displayed on a Process diagram. * Data Object References are a way to reuse Data Objects in the same diagram. * They can specify different states of the same Data Object at different points * in a Process. Data Object Reference cannot specify item definitions, and Data * Objects cannot specify states. The names of Data Object References are * derived by concatenating the name of the referenced Data Data Object the * state of the Data Object Reference in square brackets as follows: [ ]. * * * @author rsoika * */ public class DataStoreReference extends BPMNElementNode { public final static double DEFAULT_WIDTH = 50.0; public final static double DEFAULT_HEIGHT = 50.0; public static final double LABEL_OFFSET = 0; protected DataStoreReference(BPMNModel model, Element node, BPMNProcess bpmnProcess) throws BPMNModelException { super(model, node, BPMNTypes.DATASTOREREFERENCE, bpmnProcess); } @Override public double getDefaultWidth() { return DEFAULT_WIDTH; } @Override public double getDefaultHeight() { return DEFAULT_HEIGHT; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy