Documentation ¶
Index ¶
- func FindSourceRefs(sequenceFlows []*SequenceFlow, id string) (ret []string)
- type BaseElement
- type Bounds
- type BusinessRuleTask
- func (brt *BusinessRuleTask) GetDocumentation() string
- func (brt *BusinessRuleTask) GetExtensionElement() *ExtensionElements
- func (brt *BusinessRuleTask) GetId() string
- func (brt *BusinessRuleTask) GetIncomingAssociations() []string
- func (brt *BusinessRuleTask) GetName() string
- func (brt *BusinessRuleTask) GetOutgoingAssociations() []string
- func (brt *BusinessRuleTask) GetType() ElementType
- func (brt *BusinessRuleTask) GetXMLName() xml.Name
- func (brt *BusinessRuleTask) ToString() string
- type CallActivity
- func (ca *CallActivity) GetDocumentation() string
- func (ca *CallActivity) GetExtensionElement() *ExtensionElements
- func (ca *CallActivity) GetId() string
- func (ca *CallActivity) GetIncomingAssociations() []string
- func (ca *CallActivity) GetName() string
- func (ca *CallActivity) GetOutgoingAssociations() []string
- func (ca *CallActivity) GetType() ElementType
- func (ca *CallActivity) GetXMLName() xml.Name
- func (ca *CallActivity) ToString() string
- type Category
- func (c *Category) ApplyFunctionToBaseElements(f func(element BaseElement) bool)
- func (c *Category) GetDocumentation() string
- func (c *Category) GetExtensionElement() *ExtensionElements
- func (c *Category) GetId() string
- func (c *Category) GetIncomingAssociations() []string
- func (c *Category) GetName() string
- func (c *Category) GetOutgoingAssociations() []string
- func (c *Category) GetType() ElementType
- func (c *Category) GetXMLName() xml.Name
- func (c *Category) ToString() string
- type CategoryValue
- func (cv *CategoryValue) GetDocumentation() string
- func (cv *CategoryValue) GetExtensionElement() *ExtensionElements
- func (cv *CategoryValue) GetId() string
- func (cv *CategoryValue) GetIncomingAssociations() []string
- func (cv *CategoryValue) GetName() string
- func (cv *CategoryValue) GetOutgoingAssociations() []string
- func (cv *CategoryValue) GetType() ElementType
- func (cv *CategoryValue) GetXMLName() xml.Name
- func (cv *CategoryValue) ToString() string
- type ChildLaneSet
- func (cls *ChildLaneSet) ApplyFunctionToBaseElements(f func(element BaseElement) bool)
- func (cls *ChildLaneSet) GetDocumentation() string
- func (cls *ChildLaneSet) GetExtensionElement() *ExtensionElements
- func (cls *ChildLaneSet) GetId() string
- func (cls *ChildLaneSet) GetIncomingAssociations() []string
- func (cls *ChildLaneSet) GetName() string
- func (cls *ChildLaneSet) GetOutgoingAssociations() []string
- func (cls *ChildLaneSet) GetType() ElementType
- func (cls *ChildLaneSet) GetXMLName() xml.Name
- func (cls *ChildLaneSet) ToString() string
- type Collaboration
- func (cn *Collaboration) ApplyFunctionToBaseElements(f func(element BaseElement) bool)
- func (cn *Collaboration) GetDocumentation() string
- func (cn *Collaboration) GetExtensionElement() *ExtensionElements
- func (cn *Collaboration) GetId() string
- func (cn *Collaboration) GetIncomingAssociations() []string
- func (cn *Collaboration) GetName() string
- func (cn *Collaboration) GetOutgoingAssociations() []string
- func (cn *Collaboration) GetType() ElementType
- func (cn *Collaboration) GetXMLName() xml.Name
- func (cn *Collaboration) ToString() string
- type DataObject
- func (do *DataObject) GetDocumentation() string
- func (do *DataObject) GetExtensionElement() *ExtensionElements
- func (do *DataObject) GetId() string
- func (do *DataObject) GetIncomingAssociations() []string
- func (do *DataObject) GetName() string
- func (do *DataObject) GetOutgoingAssociations() []string
- func (do *DataObject) GetType() ElementType
- func (do *DataObject) GetXMLName() xml.Name
- func (do *DataObject) ToString() string
- type DataObjectReference
- func (dor *DataObjectReference) GetDocumentation() string
- func (dor *DataObjectReference) GetExtensionElement() *ExtensionElements
- func (dor *DataObjectReference) GetId() string
- func (dor *DataObjectReference) GetIncomingAssociations() []string
- func (dor *DataObjectReference) GetName() string
- func (dor *DataObjectReference) GetOutgoingAssociations() []string
- func (dor *DataObjectReference) GetType() ElementType
- func (dor *DataObjectReference) GetXMLName() xml.Name
- func (dor *DataObjectReference) ToString() string
- type DataStoreReference
- func (dsr *DataStoreReference) GetDocumentation() string
- func (dsr *DataStoreReference) GetExtensionElement() *ExtensionElements
- func (dsr *DataStoreReference) GetId() string
- func (dsr *DataStoreReference) GetIncomingAssociations() []string
- func (dsr *DataStoreReference) GetName() string
- func (dsr *DataStoreReference) GetOutgoingAssociations() []string
- func (dsr *DataStoreReference) GetType() ElementType
- func (dsr *DataStoreReference) GetXMLName() xml.Name
- func (dsr *DataStoreReference) ToString() string
- type Definition
- func (d *Definition) ApplyFunctionToBaseElements(f func(element BaseElement) bool)
- func (d *Definition) ApplyFunctionToShapes(f func(shape *Shape))
- func (d *Definition) BpmnIdBaseElementMap() map[string]BaseElement
- func (d *Definition) BpmnIdGroupMap() map[string]*Group
- func (d *Definition) BpmnIdParentMap() map[string]BaseElement
- func (d *Definition) BpmnIdShapeMap() map[string]*Shape
- func (d *Definition) Children(be BaseElement) []BaseElement
- func (d *Definition) FindBaseElementById(id string) (element BaseElement)
- func (d *Definition) FindBaseElementsByType(t ElementType) (elements []BaseElement)
- func (d *Definition) FindBaseElementsByTypeId(t ElementType, id string) (elements BaseElement)
- func (d *Definition) FindBaseElementsByTypes(types ...ElementType) (elements []BaseElement)
- func (d *Definition) FindElements() (elements []BaseElement)
- func (d *Definition) FindSequenceFlows(ids []string) (sequenceFlows []*SequenceFlow)
- func (d *Definition) FindShapeByElementId(bpmnId string) (shape *Shape)
- func (d *Definition) FindShapes() (shapes []*Shape)
- func (d *Definition) FindShapesByElementTypes(types ...ElementType) (shapes []*Shape)
- func (d *Definition) GetRules() (rules []*Rule)
- func (d *Definition) Group(be BaseElement) *Group
- func (d *Definition) GroupId(be BaseElement) string
- func (d *Definition) GroupName(be BaseElement) string
- func (d *Definition) Parent(be BaseElement) BaseElement
- func (d *Definition) ParentName(be BaseElement) string
- func (d *Definition) ShapeOfBaseElement(be BaseElement) (shape *Shape)
- type Diagram
- type Edge
- type ElementCategory
- type ElementType
- type EndEvent
- func (ee *EndEvent) GetDocumentation() string
- func (ee *EndEvent) GetExtensionElement() *ExtensionElements
- func (ee *EndEvent) GetId() string
- func (ee *EndEvent) GetIncomingAssociations() []string
- func (ee *EndEvent) GetName() string
- func (ee *EndEvent) GetOutgoingAssociations() []string
- func (ee *EndEvent) GetType() ElementType
- func (ee *EndEvent) GetXMLName() xml.Name
- func (ee *EndEvent) ToString() string
- type EventBasedGateway
- func (ebg *EventBasedGateway) GetDocumentation() string
- func (ebg *EventBasedGateway) GetExtensionElement() *ExtensionElements
- func (ebg *EventBasedGateway) GetId() string
- func (ebg *EventBasedGateway) GetIncomingAssociations() []string
- func (ebg *EventBasedGateway) GetName() string
- func (ebg *EventBasedGateway) GetOutgoingAssociations() []string
- func (ebg *EventBasedGateway) GetType() ElementType
- func (ebg *EventBasedGateway) GetXMLName() xml.Name
- func (ebg *EventBasedGateway) ToString() string
- type ExclusiveGateway
- func (eg *ExclusiveGateway) GetDocumentation() string
- func (eg *ExclusiveGateway) GetExtensionElement() *ExtensionElements
- func (eg *ExclusiveGateway) GetId() string
- func (eg *ExclusiveGateway) GetIncomingAssociations() []string
- func (eg *ExclusiveGateway) GetName() string
- func (eg *ExclusiveGateway) GetOutgoingAssociations() []string
- func (eg *ExclusiveGateway) GetType() ElementType
- func (eg *ExclusiveGateway) GetXMLName() xml.Name
- func (eg *ExclusiveGateway) ToString() string
- type Expression
- type ExtensionElements
- type Group
- func (g *Group) GetDocumentation() string
- func (g *Group) GetExtensionElement() *ExtensionElements
- func (g *Group) GetId() string
- func (g *Group) GetIncomingAssociations() []string
- func (g *Group) GetName() string
- func (g *Group) GetOutgoingAssociations() []string
- func (g *Group) GetType() ElementType
- func (g *Group) GetXMLName() xml.Name
- func (g *Group) ToString() string
- type IntermediateCatchEvent
- func (ice *IntermediateCatchEvent) GetDocumentation() string
- func (ice *IntermediateCatchEvent) GetExtensionElement() *ExtensionElements
- func (ice *IntermediateCatchEvent) GetId() string
- func (ice *IntermediateCatchEvent) GetIncomingAssociations() []string
- func (ice *IntermediateCatchEvent) GetName() string
- func (ice *IntermediateCatchEvent) GetOutgoingAssociations() []string
- func (ice *IntermediateCatchEvent) GetType() ElementType
- func (ice *IntermediateCatchEvent) GetXMLName() xml.Name
- func (ice *IntermediateCatchEvent) ToString() string
- type IntermediateThrowEvent
- func (ite *IntermediateThrowEvent) GetDocumentation() string
- func (ite *IntermediateThrowEvent) GetExtensionElement() *ExtensionElements
- func (ite *IntermediateThrowEvent) GetId() string
- func (ite *IntermediateThrowEvent) GetIncomingAssociations() []string
- func (ite *IntermediateThrowEvent) GetName() string
- func (ite *IntermediateThrowEvent) GetOutgoingAssociations() []string
- func (ite *IntermediateThrowEvent) GetType() ElementType
- func (ite *IntermediateThrowEvent) GetXMLName() xml.Name
- func (ite *IntermediateThrowEvent) ToString() string
- type Label
- type Lane
- func (l *Lane) GetDocumentation() string
- func (l *Lane) GetExtensionElement() *ExtensionElements
- func (l *Lane) GetId() string
- func (l *Lane) GetIncomingAssociations() []string
- func (l *Lane) GetName() string
- func (l *Lane) GetOutgoingAssociations() []string
- func (l *Lane) GetType() ElementType
- func (l *Lane) GetXMLName() xml.Name
- func (l *Lane) ToString() string
- type LaneSet
- func (ls *LaneSet) ApplyFunctionToBaseElements(f func(element BaseElement) bool)
- func (ls *LaneSet) GetDocumentation() string
- func (ls *LaneSet) GetExtensionElement() *ExtensionElements
- func (ls *LaneSet) GetId() string
- func (ls *LaneSet) GetIncomingAssociations() []string
- func (ls *LaneSet) GetName() string
- func (ls *LaneSet) GetOutgoingAssociations() []string
- func (ls *LaneSet) GetType() ElementType
- func (ls *LaneSet) GetXMLName() xml.Name
- func (ls *LaneSet) ToString() string
- type ManualTask
- func (mt *ManualTask) GetDocumentation() string
- func (mt *ManualTask) GetExtensionElement() *ExtensionElements
- func (mt *ManualTask) GetId() string
- func (mt *ManualTask) GetIncomingAssociations() []string
- func (mt *ManualTask) GetName() string
- func (mt *ManualTask) GetOutgoingAssociations() []string
- func (mt *ManualTask) GetType() ElementType
- func (mt *ManualTask) GetXMLName() xml.Name
- func (mt *ManualTask) ToString() string
- type MessageEventDefinition
- type MessageFlow
- func (mf *MessageFlow) GetDocumentation() string
- func (mf *MessageFlow) GetExtensionElement() *ExtensionElements
- func (mf *MessageFlow) GetId() string
- func (mf *MessageFlow) GetIncomingAssociations() []string
- func (mf *MessageFlow) GetName() string
- func (mf *MessageFlow) GetOutgoingAssociations() []string
- func (mf *MessageFlow) GetType() ElementType
- func (mf *MessageFlow) GetXMLName() xml.Name
- func (mf *MessageFlow) ToString() string
- type ParallelGateway
- func (pg *ParallelGateway) GetDocumentation() string
- func (pg *ParallelGateway) GetExtensionElement() *ExtensionElements
- func (pg *ParallelGateway) GetId() string
- func (pg *ParallelGateway) GetIncomingAssociations() []string
- func (pg *ParallelGateway) GetName() string
- func (pg *ParallelGateway) GetOutgoingAssociations() []string
- func (pg *ParallelGateway) GetType() ElementType
- func (pg *ParallelGateway) GetXMLName() xml.Name
- func (pg *ParallelGateway) ToString() string
- type Participant
- func (p *Participant) GetDocumentation() string
- func (p *Participant) GetExtensionElement() *ExtensionElements
- func (p *Participant) GetId() string
- func (p *Participant) GetIncomingAssociations() []string
- func (p *Participant) GetName() string
- func (p *Participant) GetOutgoingAssociations() []string
- func (p *Participant) GetType() ElementType
- func (p *Participant) GetXMLName() xml.Name
- func (p *Participant) ToString() string
- type Plane
- type Process
- func (p *Process) ApplyFunctionToBaseElements(f func(element BaseElement) bool)
- func (p *Process) EliminateEventsWhichComeFromTheSameGateway(events []*IntermediateCatchEvent) (ICEs []*IntermediateCatchEvent)
- func (p *Process) FindBaseElementById(id string) (baseElement BaseElement)
- func (p *Process) FindIntermediateCatchEventsForContinuation() (ICEs []*IntermediateCatchEvent)
- func (p *Process) FindLinks(et ElementType) map[string]BaseElement
- func (p *Process) FindNodes() map[string]BaseElement
- func (p *Process) FindSequenceFlows(ids []string) (sequenceFlows []*SequenceFlow)
- func (p *Process) FindSubProcessById(id string) (subProcess *SubProcess)
- func (p *Process) GetDocumentation() string
- func (p *Process) GetExtensionElement() *ExtensionElements
- func (p *Process) GetId() string
- func (p *Process) GetIncomingAssociations() []string
- func (p *Process) GetName() string
- func (p *Process) GetOutgoingAssociations() []string
- func (p *Process) GetType() ElementType
- func (p *Process) GetXMLName() xml.Name
- func (p *Process) MapBEs(etMap map[ElementType]bool) (m map[string]BaseElement)
- func (p *Process) ToString() string
- func (p *Process) TopologicalSort() (tbe []*TopologyBaseElement)
- type ReceiveTask
- func (rt *ReceiveTask) GetDocumentation() string
- func (rt *ReceiveTask) GetExtensionElement() *ExtensionElements
- func (rt *ReceiveTask) GetId() string
- func (rt *ReceiveTask) GetIncomingAssociations() []string
- func (rt *ReceiveTask) GetName() string
- func (rt *ReceiveTask) GetOutgoingAssociations() []string
- func (rt *ReceiveTask) GetType() ElementType
- func (rt *ReceiveTask) GetXMLName() xml.Name
- func (rt *ReceiveTask) ToString() string
- type Rule
- type Rules
- type ScriptTask
- func (sct *ScriptTask) GetDocumentation() string
- func (sct *ScriptTask) GetExtensionElement() *ExtensionElements
- func (sct *ScriptTask) GetId() string
- func (sct *ScriptTask) GetIncomingAssociations() []string
- func (sct *ScriptTask) GetName() string
- func (sct *ScriptTask) GetOutgoingAssociations() []string
- func (sct *ScriptTask) GetType() ElementType
- func (sct *ScriptTask) GetXMLName() xml.Name
- func (sct *ScriptTask) ToString() string
- type SendTask
- func (st *SendTask) GetDocumentation() string
- func (st *SendTask) GetExtensionElement() *ExtensionElements
- func (st *SendTask) GetId() string
- func (st *SendTask) GetIncomingAssociations() []string
- func (st *SendTask) GetName() string
- func (st *SendTask) GetOutgoingAssociations() []string
- func (st *SendTask) GetType() ElementType
- func (st *SendTask) GetXMLName() xml.Name
- func (st *SendTask) ToString() string
- type SequenceFlow
- func (sf *SequenceFlow) GetConditionExpression() string
- func (sf *SequenceFlow) GetDocumentation() string
- func (sf *SequenceFlow) GetExtensionElement() *ExtensionElements
- func (sf *SequenceFlow) GetId() string
- func (sf *SequenceFlow) GetIncomingAssociations() []string
- func (sf *SequenceFlow) GetName() string
- func (sf *SequenceFlow) GetOutgoingAssociations() []string
- func (sf *SequenceFlow) GetType() ElementType
- func (sf *SequenceFlow) GetXMLName() xml.Name
- func (sf *SequenceFlow) HasConditionExpression() bool
- func (sf *SequenceFlow) ToString() string
- type ServiceTask
- func (svt *ServiceTask) GetDocumentation() string
- func (svt *ServiceTask) GetExtensionElement() *ExtensionElements
- func (svt *ServiceTask) GetId() string
- func (svt *ServiceTask) GetIncomingAssociations() []string
- func (svt *ServiceTask) GetName() string
- func (svt *ServiceTask) GetOutgoingAssociations() []string
- func (svt *ServiceTask) GetType() ElementType
- func (svt *ServiceTask) GetXMLName() xml.Name
- func (svt *ServiceTask) ToString() string
- type Shape
- type StartEvent
- func (se *StartEvent) GetDocumentation() string
- func (se *StartEvent) GetExtensionElement() *ExtensionElements
- func (se *StartEvent) GetId() string
- func (se *StartEvent) GetIncomingAssociations() []string
- func (se *StartEvent) GetName() string
- func (se *StartEvent) GetOutgoingAssociations() []string
- func (se *StartEvent) GetType() ElementType
- func (se *StartEvent) GetXMLName() xml.Name
- func (se *StartEvent) ToString() string
- type SubProcess
- func (sp *SubProcess) ApplyFunctionToBaseElements(f func(element BaseElement) bool)
- func (sp *SubProcess) GetDocumentation() string
- func (sp *SubProcess) GetExtensionElement() *ExtensionElements
- func (sp *SubProcess) GetId() string
- func (sp *SubProcess) GetIncomingAssociations() []string
- func (sp *SubProcess) GetName() string
- func (sp *SubProcess) GetOutgoingAssociations() []string
- func (sp *SubProcess) GetType() ElementType
- func (sp *SubProcess) GetXMLName() xml.Name
- func (sp *SubProcess) ToString() string
- type TMessage
- type Task
- func (t *Task) GetDocumentation() string
- func (t *Task) GetExtensionElement() *ExtensionElements
- func (t *Task) GetId() string
- func (t *Task) GetIncomingAssociations() []string
- func (t *Task) GetName() string
- func (t *Task) GetOutgoingAssociations() []string
- func (t *Task) GetType() ElementType
- func (t *Task) GetXMLName() xml.Name
- func (t *Task) ToString() string
- type TimeDuration
- type TimerEventDefinition
- type TopologyBaseElement
- type UserTask
- func (ut *UserTask) GetDocumentation() string
- func (ut *UserTask) GetExtensionElement() *ExtensionElements
- func (ut *UserTask) GetId() string
- func (ut *UserTask) GetIncomingAssociations() []string
- func (ut *UserTask) GetName() string
- func (ut *UserTask) GetOutgoingAssociations() []string
- func (ut *UserTask) GetType() ElementType
- func (ut *UserTask) GetXMLName() xml.Name
- func (ut *UserTask) ToString() string
- type Waypoint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindSourceRefs ¶
func FindSourceRefs(sequenceFlows []*SequenceFlow, id string) (ret []string)
FindSourceRefs returns all the sourceRefs of the sequence flows
Types ¶
type BaseElement ¶
type BaseElement interface { GetId() string GetName() string GetDocumentation() string GetIncomingAssociations() []string GetOutgoingAssociations() []string GetExtensionElement() *ExtensionElements GetType() ElementType GetXMLName() xml.Name ToString() string }
BaseElement does not follow the strict BPMN 2 definition of a base element as described by omg
type BusinessRuleTask ¶ added in v1.0.6
type BusinessRuleTask struct { XMLName xml.Name `xml:"businessRuleTask"` Id string `xml:"id,attr"` Name string `xml:"name,attr"` Default string `xml:"default,attr"` StartQuantity int `xml:"startQuantity,attr"` CompletionQuantity int `xml:"completionQuantity,attr"` IsForCompensation bool `xml:"isForCompensation,attr"` OperationRef string `xml:"operationRef,attr"` IncomingAssociations []string `xml:"incoming"` OutgoingAssociations []string `xml:"outgoing"` Documentation string `xml:"documentation"` ExtensionElements *ExtensionElements `xml:"extensionElements"` }
BusinessRuleTask has same attributes as Task + scriptFormat & script
func (*BusinessRuleTask) GetDocumentation ¶ added in v1.0.6
func (brt *BusinessRuleTask) GetDocumentation() string
func (*BusinessRuleTask) GetExtensionElement ¶ added in v1.2.1
func (brt *BusinessRuleTask) GetExtensionElement() *ExtensionElements
func (*BusinessRuleTask) GetId ¶ added in v1.0.6
func (brt *BusinessRuleTask) GetId() string
*** BusinessRuleTask methods ***
func (*BusinessRuleTask) GetIncomingAssociations ¶ added in v1.0.6
func (brt *BusinessRuleTask) GetIncomingAssociations() []string
func (*BusinessRuleTask) GetName ¶ added in v1.0.6
func (brt *BusinessRuleTask) GetName() string
func (*BusinessRuleTask) GetOutgoingAssociations ¶ added in v1.0.6
func (brt *BusinessRuleTask) GetOutgoingAssociations() []string
func (*BusinessRuleTask) GetType ¶ added in v1.0.6
func (brt *BusinessRuleTask) GetType() ElementType
func (*BusinessRuleTask) GetXMLName ¶ added in v1.0.6
func (brt *BusinessRuleTask) GetXMLName() xml.Name
func (*BusinessRuleTask) ToString ¶ added in v1.0.6
func (brt *BusinessRuleTask) ToString() string
type CallActivity ¶
type CallActivity struct { XMLName xml.Name `xml:"callActivity"` Id string `xml:"id,attr"` Name string `xml:"name,attr"` IncomingAssociations []string `xml:"incoming"` OutgoingAssociations []string `xml:"outgoing"` Documentation string `xml:"documentation"` ExtensionElements *ExtensionElements `xml:"extensionElements"` }
CallActivity inherits the attributes and model associations of CallActivity
func (*CallActivity) GetDocumentation ¶
func (ca *CallActivity) GetDocumentation() string
func (*CallActivity) GetExtensionElement ¶ added in v1.2.1
func (ca *CallActivity) GetExtensionElement() *ExtensionElements
func (*CallActivity) GetIncomingAssociations ¶
func (ca *CallActivity) GetIncomingAssociations() []string
func (*CallActivity) GetName ¶
func (ca *CallActivity) GetName() string
func (*CallActivity) GetOutgoingAssociations ¶
func (ca *CallActivity) GetOutgoingAssociations() []string
func (*CallActivity) GetType ¶
func (ca *CallActivity) GetType() ElementType
func (*CallActivity) GetXMLName ¶
func (ca *CallActivity) GetXMLName() xml.Name
func (*CallActivity) ToString ¶
func (ca *CallActivity) ToString() string
type Category ¶
type Category struct { XMLName xml.Name `xml:"category"` Id string `xml:"id,attr"` Name string `xml:"name,attr"` CategoryValues []*CategoryValue `xml:"categoryValue"` Documentation string `xml:"documentation"` ExtensionElements *ExtensionElements `xml:"extensionElements"` }
func (*Category) ApplyFunctionToBaseElements ¶
func (c *Category) ApplyFunctionToBaseElements(f func(element BaseElement) bool)
ApplyFunctionToBaseElements applies a function to Category and all children as long as function returns true
func (*Category) GetDocumentation ¶
func (*Category) GetExtensionElement ¶ added in v1.2.1
func (c *Category) GetExtensionElement() *ExtensionElements
func (*Category) GetIncomingAssociations ¶
func (*Category) GetOutgoingAssociations ¶
func (*Category) GetType ¶
func (c *Category) GetType() ElementType
func (*Category) GetXMLName ¶
type CategoryValue ¶
type CategoryValue struct { XMLName xml.Name `xml:"categoryValue"` Id string `xml:"id,attr"` Value string `xml:"value,attr"` Documentation string `xml:"documentation"` ExtensionElements *ExtensionElements `xml:"extensionElements"` }
func (*CategoryValue) GetDocumentation ¶
func (cv *CategoryValue) GetDocumentation() string
func (*CategoryValue) GetExtensionElement ¶ added in v1.2.1
func (cv *CategoryValue) GetExtensionElement() *ExtensionElements
func (*CategoryValue) GetIncomingAssociations ¶
func (cv *CategoryValue) GetIncomingAssociations() []string
func (*CategoryValue) GetName ¶
func (cv *CategoryValue) GetName() string
func (*CategoryValue) GetOutgoingAssociations ¶
func (cv *CategoryValue) GetOutgoingAssociations() []string
func (*CategoryValue) GetType ¶
func (cv *CategoryValue) GetType() ElementType
func (*CategoryValue) GetXMLName ¶
func (cv *CategoryValue) GetXMLName() xml.Name
func (*CategoryValue) ToString ¶
func (cv *CategoryValue) ToString() string
type ChildLaneSet ¶ added in v1.1.5
type ChildLaneSet struct { XMLName xml.Name `xml:"childLaneSet"` Id string `xml:"id,attr"` Name string `xml:"name,attr"` Lanes []*Lane `xml:"lane"` Documentation string `xml:"documentation"` ExtensionElements *ExtensionElements `xml:"extensionElements"` }
func (*ChildLaneSet) ApplyFunctionToBaseElements ¶ added in v1.1.5
func (cls *ChildLaneSet) ApplyFunctionToBaseElements(f func(element BaseElement) bool)
ApplyFunctionToBaseElements applies a function to ChildLaneSet and all children as long as function returns true
func (*ChildLaneSet) GetDocumentation ¶ added in v1.1.5
func (cls *ChildLaneSet) GetDocumentation() string
func (*ChildLaneSet) GetExtensionElement ¶ added in v1.2.1
func (cls *ChildLaneSet) GetExtensionElement() *ExtensionElements
func (*ChildLaneSet) GetId ¶ added in v1.1.5
func (cls *ChildLaneSet) GetId() string
*** ChildLaneSet methods ***
func (*ChildLaneSet) GetIncomingAssociations ¶ added in v1.1.5
func (cls *ChildLaneSet) GetIncomingAssociations() []string
func (*ChildLaneSet) GetName ¶ added in v1.1.5
func (cls *ChildLaneSet) GetName() string
func (*ChildLaneSet) GetOutgoingAssociations ¶ added in v1.1.5
func (cls *ChildLaneSet) GetOutgoingAssociations() []string
func (*ChildLaneSet) GetType ¶ added in v1.1.5
func (cls *ChildLaneSet) GetType() ElementType
func (*ChildLaneSet) GetXMLName ¶ added in v1.1.5
func (cls *ChildLaneSet) GetXMLName() xml.Name
func (*ChildLaneSet) ToString ¶ added in v1.1.5
func (cls *ChildLaneSet) ToString() string
type Collaboration ¶
type Collaboration struct { XMLName xml.Name `xml:"collaboration"` Id string `xml:"id,attr"` Name string `xml:"name,attr"` Participants []*Participant `xml:"participant"` MessageFlows []*MessageFlow `xml:"messageFlow"` Groups []*Group `xml:"group"` Documentation string `xml:"documentation"` ExtensionElements *ExtensionElements `xml:"extensionElements"` }
func (*Collaboration) ApplyFunctionToBaseElements ¶
func (cn *Collaboration) ApplyFunctionToBaseElements(f func(element BaseElement) bool)
ApplyFunctionToBaseElements applies a function to Collaboration and all children as long as function returns true
func (*Collaboration) GetDocumentation ¶
func (cn *Collaboration) GetDocumentation() string
func (*Collaboration) GetExtensionElement ¶ added in v1.2.1
func (cn *Collaboration) GetExtensionElement() *ExtensionElements
func (*Collaboration) GetIncomingAssociations ¶
func (cn *Collaboration) GetIncomingAssociations() []string
func (*Collaboration) GetName ¶
func (cn *Collaboration) GetName() string
func (*Collaboration) GetOutgoingAssociations ¶
func (cn *Collaboration) GetOutgoingAssociations() []string
func (*Collaboration) GetType ¶
func (cn *Collaboration) GetType() ElementType
func (*Collaboration) GetXMLName ¶
func (cn *Collaboration) GetXMLName() xml.Name
func (*Collaboration) ToString ¶
func (cn *Collaboration) ToString() string
type DataObject ¶ added in v1.0.9
type DataObject struct { XMLName xml.Name `xml:"dataObject"` Id string `xml:"id,attr"` Name string `xml:"name,attr"` IncomingAssociations []string `xml:"incoming"` OutgoingAssociations []string `xml:"outgoing"` DataObjectRef string `xml:"dataObjectRef,attr"` Documentation string `xml:"documentation"` ExtensionElements *ExtensionElements `xml:"extensionElements"` }
func (*DataObject) GetDocumentation ¶ added in v1.0.9
func (do *DataObject) GetDocumentation() string
func (*DataObject) GetExtensionElement ¶ added in v1.2.1
func (do *DataObject) GetExtensionElement() *ExtensionElements
func (*DataObject) GetId ¶ added in v1.0.9
func (do *DataObject) GetId() string
func (*DataObject) GetIncomingAssociations ¶ added in v1.0.9
func (do *DataObject) GetIncomingAssociations() []string
func (*DataObject) GetName ¶ added in v1.0.9
func (do *DataObject) GetName() string
func (*DataObject) GetOutgoingAssociations ¶ added in v1.0.9
func (do *DataObject) GetOutgoingAssociations() []string
func (*DataObject) GetType ¶ added in v1.0.9
func (do *DataObject) GetType() ElementType
func (*DataObject) GetXMLName ¶ added in v1.0.9
func (do *DataObject) GetXMLName() xml.Name
func (*DataObject) ToString ¶ added in v1.0.9
func (do *DataObject) ToString() string
type DataObjectReference ¶ added in v1.0.9
type DataObjectReference struct { XMLName xml.Name `xml:"dataObjectReference"` Id string `xml:"id,attr"` Name string `xml:"name,attr"` IncomingAssociations []string `xml:"incoming"` OutgoingAssociations []string `xml:"outgoing"` DataObjectRef string `xml:"dataObjectRef,attr"` Documentation string `xml:"documentation"` ExtensionElements *ExtensionElements `xml:"extensionElements"` }
func (*DataObjectReference) GetDocumentation ¶ added in v1.0.9
func (dor *DataObjectReference) GetDocumentation() string
func (*DataObjectReference) GetExtensionElement ¶ added in v1.2.1
func (dor *DataObjectReference) GetExtensionElement() *ExtensionElements
func (*DataObjectReference) GetId ¶ added in v1.0.9
func (dor *DataObjectReference) GetId() string
func (*DataObjectReference) GetIncomingAssociations ¶ added in v1.0.9
func (dor *DataObjectReference) GetIncomingAssociations() []string
func (*DataObjectReference) GetName ¶ added in v1.0.9
func (dor *DataObjectReference) GetName() string
func (*DataObjectReference) GetOutgoingAssociations ¶ added in v1.0.9
func (dor *DataObjectReference) GetOutgoingAssociations() []string
func (*DataObjectReference) GetType ¶ added in v1.0.9
func (dor *DataObjectReference) GetType() ElementType
func (*DataObjectReference) GetXMLName ¶ added in v1.0.9
func (dor *DataObjectReference) GetXMLName() xml.Name
func (*DataObjectReference) ToString ¶ added in v1.0.9
func (dor *DataObjectReference) ToString() string
type DataStoreReference ¶ added in v1.0.9
type DataStoreReference struct { XMLName xml.Name `xml:"dataStoreReference"` Id string `xml:"id,attr"` Name string `xml:"name,attr"` IncomingAssociations []string `xml:"incoming"` OutgoingAssociations []string `xml:"outgoing"` Documentation string `xml:"documentation"` ExtensionElements *ExtensionElements `xml:"extensionElements"` }
func (*DataStoreReference) GetDocumentation ¶ added in v1.0.9
func (dsr *DataStoreReference) GetDocumentation() string
func (*DataStoreReference) GetExtensionElement ¶ added in v1.2.1
func (dsr *DataStoreReference) GetExtensionElement() *ExtensionElements
func (*DataStoreReference) GetId ¶ added in v1.0.9
func (dsr *DataStoreReference) GetId() string
func (*DataStoreReference) GetIncomingAssociations ¶ added in v1.0.9
func (dsr *DataStoreReference) GetIncomingAssociations() []string
func (*DataStoreReference) GetName ¶ added in v1.0.9
func (dsr *DataStoreReference) GetName() string
func (*DataStoreReference) GetOutgoingAssociations ¶ added in v1.0.9
func (dsr *DataStoreReference) GetOutgoingAssociations() []string
func (*DataStoreReference) GetType ¶ added in v1.0.9
func (dsr *DataStoreReference) GetType() ElementType
func (*DataStoreReference) GetXMLName ¶ added in v1.0.9
func (dsr *DataStoreReference) GetXMLName() xml.Name
func (*DataStoreReference) ToString ¶ added in v1.0.9
func (dsr *DataStoreReference) ToString() string
type Definition ¶
type Definition struct { XMLName xml.Name `xml:"definitions"` Id string `xml:"id,attr"` Name string `xml:"name,attr"` TargetNamespace string `xml:"targetNamespace,attr"` ExpressionLanguage string `xml:"expressionLanguage,attr"` TypeLanguage string `xml:"typeLanguage,attr"` Exporter string `xml:"exporter,attr"` ExporterVersion string `xml:"exporterVersion,attr"` Collaboration *Collaboration `xml:"collaboration"` Category *Category `xml:"category"` Processes []*Process `xml:"process"` Messages []*TMessage `xml:"message"` BpmnDiagram []*Diagram `xml:"BPMNDiagram"` // contains filtered or unexported fields }
func NewDefinition ¶
func NewDefinition(bpmnXML []byte) (d *Definition, err error)
func (*Definition) ApplyFunctionToBaseElements ¶
func (d *Definition) ApplyFunctionToBaseElements(f func(element BaseElement) bool)
ApplyFunctionToBaseElements applies a function to Definition and all children as long as function returns true
func (*Definition) ApplyFunctionToShapes ¶ added in v1.1.6
func (d *Definition) ApplyFunctionToShapes(f func(shape *Shape))
ApplyFunctionToShapes applies a function to all shapes within Definition
func (*Definition) BpmnIdBaseElementMap ¶
func (d *Definition) BpmnIdBaseElementMap() map[string]BaseElement
BpmnIdBaseElementMap stores and returns a mapping of baseElements by BPMN_ID if it hasn't already been created
func (*Definition) BpmnIdGroupMap ¶
func (d *Definition) BpmnIdGroupMap() map[string]*Group
BpmnIdGroupMap builds & stores a map of BPMN IDs and the group they belong to This currently assumes an item only belongs to one group
func (*Definition) BpmnIdParentMap ¶
func (d *Definition) BpmnIdParentMap() map[string]BaseElement
BpmnIdParentMap assigns the most appropriate parent to each element
func (*Definition) BpmnIdShapeMap ¶ added in v1.1.6
func (d *Definition) BpmnIdShapeMap() map[string]*Shape
BpmnIdShapeMap stores and returns a mapping of Shape by BPMN_ID if it hasn't already been created
func (*Definition) Children ¶ added in v1.2.1
func (d *Definition) Children(be BaseElement) []BaseElement
func (*Definition) FindBaseElementById ¶
func (d *Definition) FindBaseElementById(id string) (element BaseElement)
FindBaseElementById finds all BaseElements that have a specific ID
func (*Definition) FindBaseElementsByType ¶
func (d *Definition) FindBaseElementsByType(t ElementType) (elements []BaseElement)
FindBaseElementsByType finds all BaseElements that have a specific Type Interfaces are just pointers and types so no need for *
func (*Definition) FindBaseElementsByTypeId ¶
func (d *Definition) FindBaseElementsByTypeId(t ElementType, id string) (elements BaseElement)
FindBaseElementsByTypeId checks the type as well
func (*Definition) FindBaseElementsByTypes ¶ added in v1.1.0
func (d *Definition) FindBaseElementsByTypes(types ...ElementType) (elements []BaseElement)
FindBaseElementsByTypes finds all BaseElements that have one of the specific Types Interfaces are just pointers and types so no need for *
func (*Definition) FindElements ¶
func (d *Definition) FindElements() (elements []BaseElement)
FindElements finds all base elements in the definition
func (*Definition) FindSequenceFlows ¶
func (d *Definition) FindSequenceFlows(ids []string) (sequenceFlows []*SequenceFlow)
FindSequenceFlows finds all the sequence glows in the process and sub processes of the process that match the ids given If no ids given then all sequence flows returned
func (*Definition) FindShapeByElementId ¶ added in v1.1.6
func (d *Definition) FindShapeByElementId(bpmnId string) (shape *Shape)
FindShapeByElementId finds the Shape that matches the id
func (*Definition) FindShapes ¶ added in v1.1.6
func (d *Definition) FindShapes() (shapes []*Shape)
FindShapes finds all shapes in the definition
func (*Definition) FindShapesByElementTypes ¶ added in v1.1.6
func (d *Definition) FindShapesByElementTypes(types ...ElementType) (shapes []*Shape)
FindShapesByElementTypes finds all Shapes that have one of the specific Types Interfaces are just pointers and types so no need for *
func (*Definition) GetRules ¶
func (d *Definition) GetRules() (rules []*Rule)
GetRules gets all rules in the definition
func (*Definition) Group ¶
func (d *Definition) Group(be BaseElement) *Group
func (*Definition) GroupId ¶
func (d *Definition) GroupId(be BaseElement) string
func (*Definition) GroupName ¶
func (d *Definition) GroupName(be BaseElement) string
func (*Definition) Parent ¶
func (d *Definition) Parent(be BaseElement) BaseElement
func (*Definition) ParentName ¶
func (d *Definition) ParentName(be BaseElement) string
func (*Definition) ShapeOfBaseElement ¶ added in v1.1.6
func (d *Definition) ShapeOfBaseElement(be BaseElement) (shape *Shape)
ShapeOfBaseElement finds the Shape that matches the base element
type ElementCategory ¶ added in v1.2.1
type ElementCategory string
const ( Activity ElementCategory = "activity" Event ElementCategory = "event" Gateway ElementCategory = "gateway" Flow ElementCategory = "flow" Swimlane ElementCategory = "swimlane" Artifact ElementCategory = "artifact" Collection ElementCategory = "collection" )
type ElementType ¶
type ElementType string
const ( B2Participant ElementType = "PARTICIPANT" B2MessageFlow ElementType = "MESSAGE_FLOW" B2Group ElementType = "GROUP" B2Category ElementType = "CATEGORY" B2CategoryValue ElementType = "CATEGORY_VALUE" B2LaneSet ElementType = "LANE_SET" B2Lane ElementType = "LANE" B2ChildLaneSet ElementType = "CHILD_LANE_SET" B2StartEvent ElementType = "START_EVENT" B2EndEvent ElementType = "END_EVENT" B2Process ElementType = "PROCESS" B2SubProcess ElementType = "SUB_PROCESS" B2Task ElementType = "TASK" B2ManualTask ElementType = "MANUAL_TASK" B2ScriptTask ElementType = "SCRIPT_TASK" B2UserTask ElementType = "USER_TASK" B2ReceiveTask ElementType = "RECEIVE_TASK" B2SendTask ElementType = "SEND_TASK" B2BusinessRuleTask ElementType = "BUSINESS_RULE_TASK" B2Collaboration ElementType = "COLLABORATION" B2ServiceTask ElementType = "SERVICE_TASK" B2ParallelGateway ElementType = "PARALLEL_GATEWAY" B2ExclusiveGateway ElementType = "EXCLUSIVE_GATEWAY" B2DataObjectReference ElementType = "DATA_OBJECT_REFERENCE" B2DataObject ElementType = "DATA_OBJECT" B2DataStoreReference ElementType = "DATA_STORE_REFERENCE" B2IntermediateCatchEvent ElementType = "INTERMEDIATE_CATCH_EVENT" B2IntermediateThrowEvent ElementType = "INTERMEDIATE_THROW_EVENT" B2EventBasedGateway ElementType = "EVENT_BASED_GATEWAY" B2CallActivity ElementType = "CALL_ACTIVITY" B2SequenceFlow ElementType = "SEQUENCE_FLOW" )
func ContainerElementTypes ¶ added in v1.0.8
func ContainerElementTypes() []ElementType
func ElementTypes ¶ added in v1.2.1
func ElementTypes() []ElementType
func LinkElementTypes ¶ added in v1.0.8
func LinkElementTypes(mode ElementType) []ElementType
func NodeElementTypes ¶ added in v1.0.8
func NodeElementTypes() []ElementType
func (ElementType) Category ¶ added in v1.2.1
func (et ElementType) Category() ElementCategory
func (ElementType) ToCamelCase ¶ added in v1.0.2
func (et ElementType) ToCamelCase(lowerCaseFirst bool) string
type EndEvent ¶
type EndEvent struct { XMLName xml.Name `xml:"endEvent"` Id string `xml:"id,attr"` Name string `xml:"name,attr"` IncomingAssociations []string `xml:"incoming"` OutgoingAssociations []string `xml:"outgoing"` Documentation string `xml:"documentation"` ExtensionElements *ExtensionElements `xml:"extensionElements"` }
func (*EndEvent) GetDocumentation ¶
func (*EndEvent) GetExtensionElement ¶ added in v1.2.1
func (ee *EndEvent) GetExtensionElement() *ExtensionElements
func (*EndEvent) GetIncomingAssociations ¶
func (*EndEvent) GetOutgoingAssociations ¶
func (*EndEvent) GetType ¶
func (ee *EndEvent) GetType() ElementType
func (*EndEvent) GetXMLName ¶
type EventBasedGateway ¶
type EventBasedGateway struct { XMLName xml.Name `xml:"eventBasedGateway"` Id string `xml:"id,attr"` Name string `xml:"name,attr"` IncomingAssociations []string `xml:"incoming"` OutgoingAssociations []string `xml:"outgoing"` Documentation string `xml:"documentation"` ExtensionElements *ExtensionElements `xml:"extensionElements"` }
func (*EventBasedGateway) GetDocumentation ¶
func (ebg *EventBasedGateway) GetDocumentation() string
func (*EventBasedGateway) GetExtensionElement ¶ added in v1.2.1
func (ebg *EventBasedGateway) GetExtensionElement() *ExtensionElements
func (*EventBasedGateway) GetId ¶
func (ebg *EventBasedGateway) GetId() string
func (*EventBasedGateway) GetIncomingAssociations ¶
func (ebg *EventBasedGateway) GetIncomingAssociations() []string
func (*EventBasedGateway) GetName ¶
func (ebg *EventBasedGateway) GetName() string
func (*EventBasedGateway) GetOutgoingAssociations ¶
func (ebg *EventBasedGateway) GetOutgoingAssociations() []string
func (*EventBasedGateway) GetType ¶
func (ebg *EventBasedGateway) GetType() ElementType
func (*EventBasedGateway) GetXMLName ¶
func (ebg *EventBasedGateway) GetXMLName() xml.Name
func (*EventBasedGateway) ToString ¶
func (ebg *EventBasedGateway) ToString() string
type ExclusiveGateway ¶
type ExclusiveGateway struct { XMLName xml.Name `xml:"exclusiveGateway"` Id string `xml:"id,attr"` Name string `xml:"name,attr"` IncomingAssociations []string `xml:"incoming"` OutgoingAssociations []string `xml:"outgoing"` Documentation string `xml:"documentation"` ExtensionElements *ExtensionElements `xml:"extensionElements"` }
func (*ExclusiveGateway) GetDocumentation ¶
func (eg *ExclusiveGateway) GetDocumentation() string
func (*ExclusiveGateway) GetExtensionElement ¶ added in v1.2.1
func (eg *ExclusiveGateway) GetExtensionElement() *ExtensionElements
func (*ExclusiveGateway) GetId ¶
func (eg *ExclusiveGateway) GetId() string
func (*ExclusiveGateway) GetIncomingAssociations ¶
func (eg *ExclusiveGateway) GetIncomingAssociations() []string
func (*ExclusiveGateway) GetName ¶
func (eg *ExclusiveGateway) GetName() string
func (*ExclusiveGateway) GetOutgoingAssociations ¶
func (eg *ExclusiveGateway) GetOutgoingAssociations() []string
func (*ExclusiveGateway) GetType ¶
func (eg *ExclusiveGateway) GetType() ElementType
func (*ExclusiveGateway) GetXMLName ¶
func (eg *ExclusiveGateway) GetXMLName() xml.Name
func (*ExclusiveGateway) ToString ¶
func (eg *ExclusiveGateway) ToString() string
type Expression ¶
type ExtensionElements ¶
type ExtensionElements struct { XMLName xml.Name `xml:"extensionElements"` DisplayOrder int `xml:"displayOrder,attr"` Rules *Rules `xml:"rules,omitempty"` }
func (*ExtensionElements) GetDisplayOrder ¶ added in v1.2.1
func (ee *ExtensionElements) GetDisplayOrder() int
GetDisplayOrder avoids any null errors and returns 0 if none defined
func (*ExtensionElements) GetRules ¶ added in v1.2.1
func (ee *ExtensionElements) GetRules() []*Rule
GetRules avoids any null errors
type Group ¶
type Group struct { XMLName xml.Name `xml:"group"` Id string `xml:"id,attr"` Name string `xml:"name,attr"` CategoryValueRef string `xml:"categoryValueRef,attr"` Documentation string `xml:"documentation"` ExtensionElements *ExtensionElements `xml:"extensionElements"` }
func (*Group) GetDocumentation ¶
func (*Group) GetExtensionElement ¶ added in v1.2.1
func (g *Group) GetExtensionElement() *ExtensionElements
func (*Group) GetIncomingAssociations ¶
func (*Group) GetOutgoingAssociations ¶
func (*Group) GetType ¶
func (g *Group) GetType() ElementType
func (*Group) GetXMLName ¶
type IntermediateCatchEvent ¶
type IntermediateCatchEvent struct { XMLName xml.Name `xml:"intermediateCatchEvent"` Id string `xml:"id,attr"` Name string `xml:"name,attr"` IncomingAssociations []string `xml:"incoming"` OutgoingAssociations []string `xml:"outgoing"` MessageEventDefinition MessageEventDefinition `xml:"messageEventDefinition"` TimerEventDefinition TimerEventDefinition `xml:"timerEventDefinition"` ParallelMultiple bool `xml:"parallelMultiple"` Documentation string `xml:"documentation"` ExtensionElements *ExtensionElements `xml:"extensionElements"` }
func (*IntermediateCatchEvent) GetDocumentation ¶
func (ice *IntermediateCatchEvent) GetDocumentation() string
func (*IntermediateCatchEvent) GetExtensionElement ¶ added in v1.2.1
func (ice *IntermediateCatchEvent) GetExtensionElement() *ExtensionElements
func (*IntermediateCatchEvent) GetId ¶
func (ice *IntermediateCatchEvent) GetId() string
func (*IntermediateCatchEvent) GetIncomingAssociations ¶
func (ice *IntermediateCatchEvent) GetIncomingAssociations() []string
func (*IntermediateCatchEvent) GetName ¶
func (ice *IntermediateCatchEvent) GetName() string
func (*IntermediateCatchEvent) GetOutgoingAssociations ¶
func (ice *IntermediateCatchEvent) GetOutgoingAssociations() []string
func (*IntermediateCatchEvent) GetType ¶
func (ice *IntermediateCatchEvent) GetType() ElementType
func (*IntermediateCatchEvent) GetXMLName ¶
func (ice *IntermediateCatchEvent) GetXMLName() xml.Name
func (*IntermediateCatchEvent) ToString ¶
func (ice *IntermediateCatchEvent) ToString() string
type IntermediateThrowEvent ¶ added in v1.0.9
type IntermediateThrowEvent struct { XMLName xml.Name `xml:"intermediateThrowEvent"` Id string `xml:"id,attr"` Name string `xml:"name,attr"` IncomingAssociations []string `xml:"incoming"` OutgoingAssociations []string `xml:"outgoing"` MessageEventDefinition MessageEventDefinition `xml:"messageEventDefinition"` TimerEventDefinition TimerEventDefinition `xml:"timerEventDefinition"` ParallelMultiple bool `xml:"parallelMultiple"` Documentation string `xml:"documentation"` ExtensionElements *ExtensionElements `xml:"extensionElements"` }
func (*IntermediateThrowEvent) GetDocumentation ¶ added in v1.0.9
func (ite *IntermediateThrowEvent) GetDocumentation() string
func (*IntermediateThrowEvent) GetExtensionElement ¶ added in v1.2.1
func (ite *IntermediateThrowEvent) GetExtensionElement() *ExtensionElements
func (*IntermediateThrowEvent) GetId ¶ added in v1.0.9
func (ite *IntermediateThrowEvent) GetId() string
func (*IntermediateThrowEvent) GetIncomingAssociations ¶ added in v1.0.9
func (ite *IntermediateThrowEvent) GetIncomingAssociations() []string
func (*IntermediateThrowEvent) GetName ¶ added in v1.0.9
func (ite *IntermediateThrowEvent) GetName() string
func (*IntermediateThrowEvent) GetOutgoingAssociations ¶ added in v1.0.9
func (ite *IntermediateThrowEvent) GetOutgoingAssociations() []string
func (*IntermediateThrowEvent) GetType ¶ added in v1.0.9
func (ite *IntermediateThrowEvent) GetType() ElementType
func (*IntermediateThrowEvent) GetXMLName ¶ added in v1.0.9
func (ite *IntermediateThrowEvent) GetXMLName() xml.Name
func (*IntermediateThrowEvent) ToString ¶ added in v1.0.9
func (ite *IntermediateThrowEvent) ToString() string
type Lane ¶
type Lane struct { XMLName xml.Name `xml:"lane"` Id string `xml:"id,attr"` Name string `xml:"name,attr"` ProcessRef string `xml:"processRef"` FlowNodeRefs []string `xml:"flowNodeRef"` Documentation string `xml:"documentation"` ChildLaneSet *ChildLaneSet `xml:"childLaneSet"` ExtensionElements *ExtensionElements `xml:"extensionElements"` }
func (*Lane) GetDocumentation ¶
func (*Lane) GetExtensionElement ¶ added in v1.2.1
func (l *Lane) GetExtensionElement() *ExtensionElements
func (*Lane) GetIncomingAssociations ¶
func (*Lane) GetOutgoingAssociations ¶
func (*Lane) GetType ¶
func (l *Lane) GetType() ElementType
func (*Lane) GetXMLName ¶
type LaneSet ¶
type LaneSet struct { XMLName xml.Name `xml:"laneSet"` Id string `xml:"id,attr"` Name string `xml:"name,attr"` Lanes []*Lane `xml:"lane"` Documentation string `xml:"documentation"` ExtensionElements *ExtensionElements `xml:"extensionElements"` }
func (*LaneSet) ApplyFunctionToBaseElements ¶
func (ls *LaneSet) ApplyFunctionToBaseElements(f func(element BaseElement) bool)
ApplyFunctionToBaseElements applies a function to LaneSet and all children as long as function returns true
func (*LaneSet) GetDocumentation ¶
func (*LaneSet) GetExtensionElement ¶ added in v1.2.1
func (ls *LaneSet) GetExtensionElement() *ExtensionElements
func (*LaneSet) GetIncomingAssociations ¶
func (*LaneSet) GetOutgoingAssociations ¶
func (*LaneSet) GetType ¶
func (ls *LaneSet) GetType() ElementType
func (*LaneSet) GetXMLName ¶
type ManualTask ¶
type ManualTask struct { XMLName xml.Name `xml:"manualTask"` Id string `xml:"id,attr"` Name string `xml:"name,attr"` Default string `xml:"default,attr"` StartQuantity int `xml:"startQuantity,attr"` CompletionQuantity int `xml:"completionQuantity,attr"` IsForCompensation bool `xml:"isForCompensation,attr"` OperationRef string `xml:"operationRef,attr"` IncomingAssociations []string `xml:"incoming"` OutgoingAssociations []string `xml:"outgoing"` Documentation string `xml:"documentation"` ExtensionElements *ExtensionElements `xml:"extensionElements"` }
ManualTask has same attributes as Task
func (*ManualTask) GetDocumentation ¶
func (mt *ManualTask) GetDocumentation() string
func (*ManualTask) GetExtensionElement ¶ added in v1.2.1
func (mt *ManualTask) GetExtensionElement() *ExtensionElements
func (*ManualTask) GetIncomingAssociations ¶
func (mt *ManualTask) GetIncomingAssociations() []string
func (*ManualTask) GetName ¶
func (mt *ManualTask) GetName() string
func (*ManualTask) GetOutgoingAssociations ¶
func (mt *ManualTask) GetOutgoingAssociations() []string
func (*ManualTask) GetType ¶
func (mt *ManualTask) GetType() ElementType
func (*ManualTask) GetXMLName ¶
func (mt *ManualTask) GetXMLName() xml.Name
func (*ManualTask) ToString ¶
func (mt *ManualTask) ToString() string
type MessageEventDefinition ¶
type MessageFlow ¶
type MessageFlow struct { XMLName xml.Name `xml:"messageFlow"` Id string `xml:"id,attr"` Name string `xml:"name,attr"` SourceRef string `xml:"sourceRef"` TargetRef string `xml:"targetRef"` Documentation string `xml:"documentation"` ExtensionElements *ExtensionElements `xml:"extensionElements"` }
func (*MessageFlow) GetDocumentation ¶
func (mf *MessageFlow) GetDocumentation() string
func (*MessageFlow) GetExtensionElement ¶ added in v1.2.1
func (mf *MessageFlow) GetExtensionElement() *ExtensionElements
func (*MessageFlow) GetIncomingAssociations ¶
func (mf *MessageFlow) GetIncomingAssociations() []string
func (*MessageFlow) GetName ¶
func (mf *MessageFlow) GetName() string
func (*MessageFlow) GetOutgoingAssociations ¶
func (mf *MessageFlow) GetOutgoingAssociations() []string
func (*MessageFlow) GetType ¶
func (mf *MessageFlow) GetType() ElementType
func (*MessageFlow) GetXMLName ¶
func (mf *MessageFlow) GetXMLName() xml.Name
func (*MessageFlow) ToString ¶
func (mf *MessageFlow) ToString() string
type ParallelGateway ¶
type ParallelGateway struct { XMLName xml.Name `xml:"parallelGateway"` Id string `xml:"id,attr"` Name string `xml:"name,attr"` IncomingAssociations []string `xml:"incoming"` OutgoingAssociations []string `xml:"outgoing"` Documentation string `xml:"documentation"` ExtensionElements *ExtensionElements `xml:"extensionElements"` }
func (*ParallelGateway) GetDocumentation ¶
func (pg *ParallelGateway) GetDocumentation() string
func (*ParallelGateway) GetExtensionElement ¶ added in v1.2.1
func (pg *ParallelGateway) GetExtensionElement() *ExtensionElements
func (*ParallelGateway) GetId ¶
func (pg *ParallelGateway) GetId() string
func (*ParallelGateway) GetIncomingAssociations ¶
func (pg *ParallelGateway) GetIncomingAssociations() []string
func (*ParallelGateway) GetName ¶
func (pg *ParallelGateway) GetName() string
func (*ParallelGateway) GetOutgoingAssociations ¶
func (pg *ParallelGateway) GetOutgoingAssociations() []string
func (*ParallelGateway) GetType ¶
func (pg *ParallelGateway) GetType() ElementType
func (*ParallelGateway) GetXMLName ¶
func (pg *ParallelGateway) GetXMLName() xml.Name
func (*ParallelGateway) ToString ¶
func (pg *ParallelGateway) ToString() string
type Participant ¶
type Participant struct { XMLName xml.Name `xml:"participant"` Id string `xml:"id,attr"` Name string `xml:"name,attr"` ProcessRef string `xml:"processRef,attr"` Documentation string `xml:"documentation"` ExtensionElements *ExtensionElements `xml:"extensionElements"` }
func (*Participant) GetDocumentation ¶
func (p *Participant) GetDocumentation() string
func (*Participant) GetExtensionElement ¶ added in v1.2.1
func (p *Participant) GetExtensionElement() *ExtensionElements
func (*Participant) GetIncomingAssociations ¶
func (p *Participant) GetIncomingAssociations() []string
func (*Participant) GetName ¶
func (p *Participant) GetName() string
func (*Participant) GetOutgoingAssociations ¶
func (p *Participant) GetOutgoingAssociations() []string
func (*Participant) GetType ¶
func (p *Participant) GetType() ElementType
func (*Participant) GetXMLName ¶
func (p *Participant) GetXMLName() xml.Name
func (*Participant) ToString ¶
func (p *Participant) ToString() string
type Process ¶
type Process struct { XMLName xml.Name `xml:"process"` Id string `xml:"id,attr"` Name string `xml:"name,attr"` ProcessType string `xml:"processType,attr"` IsClosed bool `xml:"isClosed,attr"` IsExecutable bool `xml:"isExecutable,attr"` DefinitionalCollaborationRef string `xml:"definitionalCollaborationRef,attr"` Groups []*Group `xml:"group"` LaneSet []*LaneSet `xml:"laneSet"` StartEvents []*StartEvent `xml:"startEvent"` EndEvents []*EndEvent `xml:"endEvent"` SubProcesses []*SubProcess `xml:"subProcess"` SequenceFlows []*SequenceFlow `xml:"sequenceFlow"` Tasks []*Task `xml:"task"` ScriptTasks []*ScriptTask `xml:"scriptTask"` ManualTasks []*ManualTask `xml:"manualTask"` ServiceTasks []*ServiceTask `xml:"serviceTask"` UserTasks []*UserTask `xml:"userTask"` ReceiveTasks []*ReceiveTask `xml:"receiveTask"` SendTasks []*SendTask `xml:"sendTask"` BusinessRuleTasks []*BusinessRuleTask `xml:"businessRuleTask"` CallActivities []*CallActivity `xml:"callActivity"` ParallelGateways []*ParallelGateway `xml:"parallelGateway"` ExclusiveGateways []*ExclusiveGateway `xml:"exclusiveGateway"` DataObjectReferences []*DataObjectReference `xml:"dataObjectReference"` DataObjects []*DataObject `xml:"dataObject"` DataStoreReferences []*DataStoreReference `xml:"dataStoreReference"` IntermediateThrowEvents []*IntermediateThrowEvent `xml:"intermediateThrowEvent"` IntermediateCatchEvents []*IntermediateCatchEvent `xml:"intermediateCatchEvent"` EventBasedGateways []*EventBasedGateway `xml:"eventBasedGateway"` ExtensionElements *ExtensionElements `xml:"extensionElements"` Documentation string `xml:"documentation"` // contains filtered or unexported fields }
func (*Process) ApplyFunctionToBaseElements ¶
func (p *Process) ApplyFunctionToBaseElements(f func(element BaseElement) bool)
ApplyFunctionToBaseElements applies a function to Process and all children as long as function returns true
func (*Process) EliminateEventsWhichComeFromTheSameGateway ¶
func (p *Process) EliminateEventsWhichComeFromTheSameGateway(events []*IntermediateCatchEvent) (ICEs []*IntermediateCatchEvent)
func (*Process) FindBaseElementById ¶
func (p *Process) FindBaseElementById(id string) (baseElement BaseElement)
FindBaseElementById finds all base elements in the definition
func (*Process) FindIntermediateCatchEventsForContinuation ¶
func (p *Process) FindIntermediateCatchEventsForContinuation() (ICEs []*IntermediateCatchEvent)
FindIntermediateCatchEventsForContinuation finds all intermediate catch events of a process
func (*Process) FindLinks ¶
func (p *Process) FindLinks(et ElementType) map[string]BaseElement
FindLinks finds all the Links and returns a map[id]BaseElement
func (*Process) FindNodes ¶
func (p *Process) FindNodes() map[string]BaseElement
FindNodes finds all the nodes and returns with a process map[id]BaseElement
func (*Process) FindSequenceFlows ¶
func (p *Process) FindSequenceFlows(ids []string) (sequenceFlows []*SequenceFlow)
FindSequenceFlows finds all the sequence flows in the process and sub processes of the process that have match one of the ids passed in
func (*Process) FindSubProcessById ¶
func (p *Process) FindSubProcessById(id string) (subProcess *SubProcess)
FindSubProcessById will find the sub process with the Id given
func (*Process) GetDocumentation ¶
func (*Process) GetExtensionElement ¶ added in v1.2.1
func (p *Process) GetExtensionElement() *ExtensionElements
func (*Process) GetIncomingAssociations ¶
func (*Process) GetOutgoingAssociations ¶
func (*Process) GetType ¶
func (p *Process) GetType() ElementType
func (*Process) GetXMLName ¶
func (*Process) MapBEs ¶
func (p *Process) MapBEs(etMap map[ElementType]bool) (m map[string]BaseElement)
MapBEs takes a map of ElementTypes and builds a map of BaseElement
The decision to go down the hierarchy is based upon the map bool
func (*Process) TopologicalSort ¶ added in v1.0.7
func (p *Process) TopologicalSort() (tbe []*TopologyBaseElement)
TopologicalSort sorts the BPMN diagram so the details can be presented in a table in a logical order Future capability will be to use for sequence diagram generation includeLinks is a future capability, currently sorts the activities of the BPMN model
type ReceiveTask ¶ added in v1.0.7
type ReceiveTask struct { XMLName xml.Name `xml:"receiveTask"` Id string `xml:"id,attr"` Name string `xml:"name,attr"` Default string `xml:"default,attr"` StartQuantity int `xml:"startQuantity,attr"` CompletionQuantity int `xml:"completionQuantity,attr"` IsForCompensation bool `xml:"isForCompensation,attr"` OperationRef string `xml:"operationRef,attr"` IncomingAssociations []string `xml:"incoming"` OutgoingAssociations []string `xml:"outgoing"` Documentation string `xml:"documentation"` ExtensionElements *ExtensionElements `xml:"extensionElements"` }
ReceiveTask has same attributes as Task + scriptFormat & script
func (*ReceiveTask) GetDocumentation ¶ added in v1.0.7
func (rt *ReceiveTask) GetDocumentation() string
func (*ReceiveTask) GetExtensionElement ¶ added in v1.2.1
func (rt *ReceiveTask) GetExtensionElement() *ExtensionElements
func (*ReceiveTask) GetId ¶ added in v1.0.7
func (rt *ReceiveTask) GetId() string
*** ReceiveTask methods ***
func (*ReceiveTask) GetIncomingAssociations ¶ added in v1.0.7
func (rt *ReceiveTask) GetIncomingAssociations() []string
func (*ReceiveTask) GetName ¶ added in v1.0.7
func (rt *ReceiveTask) GetName() string
func (*ReceiveTask) GetOutgoingAssociations ¶ added in v1.0.7
func (rt *ReceiveTask) GetOutgoingAssociations() []string
func (*ReceiveTask) GetType ¶ added in v1.0.7
func (rt *ReceiveTask) GetType() ElementType
func (*ReceiveTask) GetXMLName ¶ added in v1.0.7
func (rt *ReceiveTask) GetXMLName() xml.Name
func (*ReceiveTask) ToString ¶ added in v1.0.7
func (rt *ReceiveTask) ToString() string
type ScriptTask ¶
type ScriptTask struct { XMLName xml.Name `xml:"scriptTask"` Id string `xml:"id,attr"` Name string `xml:"name,attr"` Default string `xml:"default,attr"` StartQuantity int `xml:"startQuantity,attr"` CompletionQuantity int `xml:"completionQuantity,attr"` IsForCompensation bool `xml:"isForCompensation,attr"` OperationRef string `xml:"operationRef,attr"` ScriptFormat string `xml:"scriptFormat,attr"` Script string `xml:"script,attr"` IncomingAssociations []string `xml:"incoming"` OutgoingAssociations []string `xml:"outgoing"` Documentation string `xml:"documentation"` ExtensionElements *ExtensionElements `xml:"extensionElements"` }
ScriptTask has same attributes as Task + scriptFormat & script
func (*ScriptTask) GetDocumentation ¶
func (sct *ScriptTask) GetDocumentation() string
func (*ScriptTask) GetExtensionElement ¶ added in v1.2.1
func (sct *ScriptTask) GetExtensionElement() *ExtensionElements
func (*ScriptTask) GetIncomingAssociations ¶
func (sct *ScriptTask) GetIncomingAssociations() []string
func (*ScriptTask) GetName ¶
func (sct *ScriptTask) GetName() string
func (*ScriptTask) GetOutgoingAssociations ¶
func (sct *ScriptTask) GetOutgoingAssociations() []string
func (*ScriptTask) GetType ¶
func (sct *ScriptTask) GetType() ElementType
func (*ScriptTask) GetXMLName ¶
func (sct *ScriptTask) GetXMLName() xml.Name
func (*ScriptTask) ToString ¶
func (sct *ScriptTask) ToString() string
type SendTask ¶ added in v1.0.7
type SendTask struct { XMLName xml.Name `xml:"sendTask"` Id string `xml:"id,attr"` Name string `xml:"name,attr"` Default string `xml:"default,attr"` StartQuantity int `xml:"startQuantity,attr"` CompletionQuantity int `xml:"completionQuantity,attr"` IsForCompensation bool `xml:"isForCompensation,attr"` OperationRef string `xml:"operationRef,attr"` IncomingAssociations []string `xml:"incoming"` OutgoingAssociations []string `xml:"outgoing"` Documentation string `xml:"documentation"` ExtensionElements *ExtensionElements `xml:"extensionElements"` }
SendTask has same attributes as Task + scriptFormat & script
func (*SendTask) GetDocumentation ¶ added in v1.0.7
func (*SendTask) GetExtensionElement ¶ added in v1.2.1
func (st *SendTask) GetExtensionElement() *ExtensionElements
func (*SendTask) GetIncomingAssociations ¶ added in v1.0.7
func (*SendTask) GetOutgoingAssociations ¶ added in v1.0.7
func (*SendTask) GetType ¶ added in v1.0.7
func (st *SendTask) GetType() ElementType
func (*SendTask) GetXMLName ¶ added in v1.0.7
type SequenceFlow ¶
type SequenceFlow struct { XMLName xml.Name `xml:"sequenceFlow"` Id string `xml:"id,attr"` Name string `xml:"name,attr"` SourceRef string `xml:"sourceRef,attr"` TargetRef string `xml:"targetRef,attr"` ConditionExpression []*Expression `xml:"conditionExpression"` Documentation string `xml:"documentation"` ExtensionElements *ExtensionElements `xml:"extensionElements"` }
func (*SequenceFlow) GetConditionExpression ¶
func (sf *SequenceFlow) GetConditionExpression() string
GetConditionExpression returns the embedded expression. There will be a panic thrown, in case none exists!
func (*SequenceFlow) GetDocumentation ¶
func (sf *SequenceFlow) GetDocumentation() string
func (*SequenceFlow) GetExtensionElement ¶ added in v1.2.1
func (sf *SequenceFlow) GetExtensionElement() *ExtensionElements
func (*SequenceFlow) GetIncomingAssociations ¶
func (sf *SequenceFlow) GetIncomingAssociations() []string
func (*SequenceFlow) GetName ¶
func (sf *SequenceFlow) GetName() string
func (*SequenceFlow) GetOutgoingAssociations ¶
func (sf *SequenceFlow) GetOutgoingAssociations() []string
func (*SequenceFlow) GetType ¶
func (sf *SequenceFlow) GetType() ElementType
func (*SequenceFlow) GetXMLName ¶
func (sf *SequenceFlow) GetXMLName() xml.Name
func (*SequenceFlow) HasConditionExpression ¶
func (sf *SequenceFlow) HasConditionExpression() bool
HasConditionExpression returns true, if there's exactly 1 expression present (as by the spec) and there's some non-whitespace-characters available
func (*SequenceFlow) ToString ¶
func (sf *SequenceFlow) ToString() string
type ServiceTask ¶
type ServiceTask struct { XMLName xml.Name `xml:"serviceTask"` Id string `xml:"id,attr"` Name string `xml:"name,attr"` Default string `xml:"default,attr"` StartQuantity int `xml:"startQuantity,attr"` CompletionQuantity int `xml:"completionQuantity,attr"` IsForCompensation bool `xml:"isForCompensation,attr"` OperationRef string `xml:"operationRef,attr"` Implementation string `xml:"implementation,attr"` IncomingAssociations []string `xml:"incoming"` OutgoingAssociations []string `xml:"outgoing"` Documentation string `xml:"documentation"` ExtensionElements *ExtensionElements `xml:"extensionElements"` }
ServiceTask has same attributes as Task + implementation
func (*ServiceTask) GetDocumentation ¶
func (svt *ServiceTask) GetDocumentation() string
func (*ServiceTask) GetExtensionElement ¶ added in v1.2.1
func (svt *ServiceTask) GetExtensionElement() *ExtensionElements
func (*ServiceTask) GetIncomingAssociations ¶
func (svt *ServiceTask) GetIncomingAssociations() []string
func (*ServiceTask) GetName ¶
func (svt *ServiceTask) GetName() string
func (*ServiceTask) GetOutgoingAssociations ¶
func (svt *ServiceTask) GetOutgoingAssociations() []string
func (*ServiceTask) GetType ¶
func (svt *ServiceTask) GetType() ElementType
func (*ServiceTask) GetXMLName ¶
func (svt *ServiceTask) GetXMLName() xml.Name
func (*ServiceTask) ToString ¶
func (svt *ServiceTask) ToString() string
type Shape ¶
type Shape struct { XMLName xml.Name `xml:"BPMNShape"` Id string `xml:"id,attr"` BpmnElement string `xml:"bpmnElement,attr"` IsHorizontal bool `xml:"isHorizontal,attr"` IsExpanded bool `xml:"isExpanded,attr,omitempty"` IsMarkerVisible bool `xml:"isMarkerVisible,attr,omitempty"` IsMessageVisible bool `xml:"isMessageVisible,attr,omitempty"` Stroke string `xml:"stroke,attr,omitempty"` Fill string `xml:"fill,attr,omitempty"` BackgroundColour string `xml:"background-color,attr,omitempty"` BorderColour string `xml:"border-color,attr,omitempty"` BpmnBounds Bounds `xml:"Bounds"` BpmnLabel []*Label `xml:"BPMNLabel,omitempty"` }
type StartEvent ¶
type StartEvent struct { XMLName xml.Name `xml:"startEvent"` Id string `xml:"id,attr"` Name string `xml:"name,attr"` IsInterrupting bool `xml:"isInterrupting,attr"` ParallelMultiple bool `xml:"parallelMultiple,attr"` IncomingAssociations []string `xml:"incoming"` OutgoingAssociations []string `xml:"outgoing"` Documentation string `xml:"documentation"` ExtensionElements *ExtensionElements `xml:"extensionElements"` }
func (*StartEvent) GetDocumentation ¶
func (se *StartEvent) GetDocumentation() string
func (*StartEvent) GetExtensionElement ¶ added in v1.2.1
func (se *StartEvent) GetExtensionElement() *ExtensionElements
func (*StartEvent) GetIncomingAssociations ¶
func (se *StartEvent) GetIncomingAssociations() []string
func (*StartEvent) GetName ¶
func (se *StartEvent) GetName() string
func (*StartEvent) GetOutgoingAssociations ¶
func (se *StartEvent) GetOutgoingAssociations() []string
func (*StartEvent) GetType ¶
func (se *StartEvent) GetType() ElementType
func (*StartEvent) GetXMLName ¶
func (se *StartEvent) GetXMLName() xml.Name
func (*StartEvent) ToString ¶
func (se *StartEvent) ToString() string
type SubProcess ¶
type SubProcess struct { XMLName xml.Name `xml:"subProcess"` Id string `xml:"id,attr"` Name string `xml:"name,attr"` Default string `xml:"default,attr"` StartQuantity int `xml:"startQuantity,attr"` CompletionQuantity int `xml:"completionQuantity,attr"` IsForCompensation bool `xml:"isForCompensation,attr"` TriggeredByEvent bool `xml:"triggeredByEvent,attr"` OperationRef string `xml:"operationRef,attr"` Implementation string `xml:"implementation,attr"` IncomingAssociations []string `xml:"incoming"` OutgoingAssociations []string `xml:"outgoing"` SubProcesses []*SubProcess `xml:"subProcess"` Groups []*Group `xml:"group"` StartEvents []*StartEvent `xml:"startEvent"` EndEvents []*EndEvent `xml:"endEvent"` SequenceFlows []*SequenceFlow `xml:"sequenceFlow"` Tasks []*Task `xml:"task"` ScriptTasks []*ScriptTask `xml:"scriptTask"` ManualTasks []*ManualTask `xml:"manualTask"` ServiceTasks []*ServiceTask `xml:"serviceTask"` BusinessRuleTasks []*BusinessRuleTask `xml:"businessRuleTask"` ReceiveTasks []*ReceiveTask `xml:"receiveTasks"` SendTasks []*SendTask `xml:"sendTask"` UserTasks []*UserTask `xml:"userTask"` CallActivities []*CallActivity `xml:"callActivity"` ParallelGateways []*ParallelGateway `xml:"parallelGateway"` ExclusiveGateways []*ExclusiveGateway `xml:"exclusiveGateway"` DataObjectReferences []*DataObjectReference `xml:"dataObjectReference"` DataObjects []*DataObject `xml:"dataObject"` DataStoreReferences []*DataStoreReference `xml:"dataStoreReference"` IntermediateThrowEvents []*IntermediateThrowEvent `xml:"intermediateThrowEvent"` IntermediateCatchEvents []*IntermediateCatchEvent `xml:"intermediateCatchEvent"` EventBasedGateways []*EventBasedGateway `xml:"eventBasedGateway"` Documentation string `xml:"documentation"` ExtensionElements *ExtensionElements `xml:"extensionElements"` }
SubProcess has same attributes as Activity + triggered by event
func (*SubProcess) ApplyFunctionToBaseElements ¶
func (sp *SubProcess) ApplyFunctionToBaseElements(f func(element BaseElement) bool)
ApplyFunctionToBaseElements applies a function to the SubProcess and all children if function returns true
func (*SubProcess) GetDocumentation ¶
func (sp *SubProcess) GetDocumentation() string
func (*SubProcess) GetExtensionElement ¶ added in v1.2.1
func (sp *SubProcess) GetExtensionElement() *ExtensionElements
func (*SubProcess) GetIncomingAssociations ¶
func (sp *SubProcess) GetIncomingAssociations() []string
func (*SubProcess) GetName ¶
func (sp *SubProcess) GetName() string
func (*SubProcess) GetOutgoingAssociations ¶
func (sp *SubProcess) GetOutgoingAssociations() []string
func (*SubProcess) GetType ¶
func (sp *SubProcess) GetType() ElementType
func (*SubProcess) GetXMLName ¶
func (sp *SubProcess) GetXMLName() xml.Name
func (*SubProcess) ToString ¶
func (sp *SubProcess) ToString() string
type Task ¶
type Task struct { XMLName xml.Name `xml:"task"` Id string `xml:"id,attr"` Name string `xml:"name,attr"` Default string `xml:"default,attr"` StartQuantity int `xml:"startQuantity,attr"` CompletionQuantity int `xml:"completionQuantity,attr"` IsForCompensation bool `xml:"isForCompensation,attr"` OperationRef string `xml:"operationRef,attr"` Implementation string `xml:"implementation,attr"` IncomingAssociations []string `xml:"incoming"` OutgoingAssociations []string `xml:"outgoing"` Documentation string `xml:"documentation"` ExtensionElements *ExtensionElements `xml:"extensionElements"` }
Task inherits the attributes and model associations of Activity
func (*Task) GetDocumentation ¶
func (*Task) GetExtensionElement ¶ added in v1.2.1
func (t *Task) GetExtensionElement() *ExtensionElements
func (*Task) GetIncomingAssociations ¶
func (*Task) GetOutgoingAssociations ¶
func (*Task) GetType ¶
func (t *Task) GetType() ElementType
func (*Task) GetXMLName ¶
type TimeDuration ¶
type TimerEventDefinition ¶
type TimerEventDefinition struct { XMLName xml.Name `xml:"timerEventDefinition"` Id string `xml:"id,attr"` TimeDuration TimeDuration `xml:"timeDuration"` }
type TopologyBaseElement ¶ added in v1.1.5
type TopologyBaseElement struct { BaseElement BaseElement `json:"base_element"` FromBaseElement BaseElement `json:"from_base_element"` Step string `json:"step"` SortStep string `json:"sort_step"` Level int `json:"level"` }
type UserTask ¶
type UserTask struct { XMLName xml.Name `xml:"userTask"` Id string `xml:"id,attr"` Name string `xml:"name,attr"` Default string `xml:"default,attr"` StartQuantity int `xml:"startQuantity,attr"` CompletionQuantity int `xml:"completionQuantity,attr"` IsForCompensation bool `xml:"isForCompensation,attr"` OperationRef string `xml:"operationRef,attr"` Implementation string `xml:"implementation,attr"` IncomingAssociations []string `xml:"incoming"` OutgoingAssociations []string `xml:"outgoing"` Documentation string `xml:"documentation"` ExtensionElements *ExtensionElements `xml:"extensionElements"` }
UserTask has same attributes as Task + implementation
func (*UserTask) GetDocumentation ¶
func (*UserTask) GetExtensionElement ¶ added in v1.2.1
func (ut *UserTask) GetExtensionElement() *ExtensionElements
func (*UserTask) GetIncomingAssociations ¶
func (*UserTask) GetOutgoingAssociations ¶
func (*UserTask) GetType ¶
func (ut *UserTask) GetType() ElementType