Skip to main content
Version: 4.2

DataObject

extends ExportableObject

Default exportable object for the bpmn2.DataObject element.

constructor

constructor(cellView: dia.CellView, label?: string, collection?: boolean);

Methods

isCollection()

isCollection(): boolean;

Returns true if the data object is a collection. Override this method to show the export process that the element should be treated as a collection.

toDataObjectXMLElement()

toDataObjectXMLElement(): Element;

Creates dataObject XML element from the exportable object.

toDataObjectReferenceXMLElement()

toDataObjectReferenceXMLElement(): Element;

Creates dataObjectReference XML element from the exportable object.

toShapeXMLElement()

toShapeXMLElement(): Element;

Creates BPMNShape XML element from the exportable object.

Properties

label

label: string | null;

Data object label.

collection

collection: boolean;

Indicates whether the data object is a collection.