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.