Documentation ¶
Index ¶
- func FindSourceRefs(sequenceFlows []*SequenceFlow, id string) (ret []string)
- type BaseElement
- type Bounds
- type CallActivity
- func (ca *CallActivity) GetDocumentation() string
- func (ca *CallActivity) GetId() string
- func (ca *CallActivity) GetIncomingAssociations() []string
- func (ca *CallActivity) GetName() string
- func (ca *CallActivity) GetOutgoingAssociations() []string
- func (ca *CallActivity) GetRules() []*Rule
- 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) GetId() string
- func (c *Category) GetIncomingAssociations() []string
- func (c *Category) GetName() string
- func (c *Category) GetOutgoingAssociations() []string
- func (c *Category) GetRules() []*Rule
- 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) GetId() string
- func (cv *CategoryValue) GetIncomingAssociations() []string
- func (cv *CategoryValue) GetName() string
- func (cv *CategoryValue) GetOutgoingAssociations() []string
- func (cv *CategoryValue) GetRules() []*Rule
- func (cv *CategoryValue) GetType() ElementType
- func (cv *CategoryValue) GetXMLName() xml.Name
- func (cv *CategoryValue) ToString() string
- type Collaboration
- func (cn *Collaboration) ApplyFunctionToBaseElements(f func(element BaseElement) bool)
- func (cn *Collaboration) GetDocumentation() string
- func (cn *Collaboration) GetId() string
- func (cn *Collaboration) GetIncomingAssociations() []string
- func (cn *Collaboration) GetName() string
- func (cn *Collaboration) GetOutgoingAssociations() []string
- func (cn *Collaboration) GetRules() []*Rule
- func (cn *Collaboration) GetType() ElementType
- func (cn *Collaboration) GetXMLName() xml.Name
- func (cn *Collaboration) ToString() string
- type Definition
- func (d *Definition) ApplyFunctionToBaseElements(f func(element BaseElement) bool)
- func (d *Definition) BpmnIdBaseElementMap() map[string]BaseElement
- func (d *Definition) BpmnIdGroupMap() map[string]*Group
- func (d *Definition) BpmnIdParentMap() map[string]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) FindElements() (elements []BaseElement)
- func (d *Definition) FindSequenceFlows(ids []string) (sequenceFlows []*SequenceFlow)
- 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
- type Diagram
- type Edge
- type ElementType
- type EndEvent
- func (ee *EndEvent) GetDocumentation() string
- func (ee *EndEvent) GetId() string
- func (ee *EndEvent) GetIncomingAssociations() []string
- func (ee *EndEvent) GetName() string
- func (ee *EndEvent) GetOutgoingAssociations() []string
- func (ee *EndEvent) GetRules() []*Rule
- 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) GetId() string
- func (ebg *EventBasedGateway) GetIncomingAssociations() []string
- func (ebg *EventBasedGateway) GetName() string
- func (ebg *EventBasedGateway) GetOutgoingAssociations() []string
- func (ebg *EventBasedGateway) GetRules() []*Rule
- 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) GetId() string
- func (eg *ExclusiveGateway) GetIncomingAssociations() []string
- func (eg *ExclusiveGateway) GetName() string
- func (eg *ExclusiveGateway) GetOutgoingAssociations() []string
- func (eg *ExclusiveGateway) GetRules() []*Rule
- 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) GetId() string
- func (g *Group) GetIncomingAssociations() []string
- func (g *Group) GetName() string
- func (g *Group) GetOutgoingAssociations() []string
- func (g *Group) GetRules() []*Rule
- 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) GetId() string
- func (ice *IntermediateCatchEvent) GetIncomingAssociations() []string
- func (ice *IntermediateCatchEvent) GetName() string
- func (ice *IntermediateCatchEvent) GetOutgoingAssociations() []string
- func (ice *IntermediateCatchEvent) GetRules() []*Rule
- func (ice *IntermediateCatchEvent) GetType() ElementType
- func (ice *IntermediateCatchEvent) GetXMLName() xml.Name
- func (ice *IntermediateCatchEvent) ToString() string
- type Label
- type Lane
- func (l *Lane) GetDocumentation() string
- func (l *Lane) GetId() string
- func (l *Lane) GetIncomingAssociations() []string
- func (l *Lane) GetName() string
- func (l *Lane) GetOutgoingAssociations() []string
- func (l *Lane) GetRules() []*Rule
- 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) GetId() string
- func (ls *LaneSet) GetIncomingAssociations() []string
- func (ls *LaneSet) GetName() string
- func (ls *LaneSet) GetOutgoingAssociations() []string
- func (ls *LaneSet) GetRules() []*Rule
- 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) GetId() string
- func (mt *ManualTask) GetIncomingAssociations() []string
- func (mt *ManualTask) GetName() string
- func (mt *ManualTask) GetOutgoingAssociations() []string
- func (mt *ManualTask) GetRules() []*Rule
- 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) GetId() string
- func (mf *MessageFlow) GetIncomingAssociations() []string
- func (mf *MessageFlow) GetName() string
- func (mf *MessageFlow) GetOutgoingAssociations() []string
- func (mf *MessageFlow) GetRules() []*Rule
- 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) GetId() string
- func (pg *ParallelGateway) GetIncomingAssociations() []string
- func (pg *ParallelGateway) GetName() string
- func (pg *ParallelGateway) GetOutgoingAssociations() []string
- func (pg *ParallelGateway) GetRules() []*Rule
- 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) GetId() string
- func (p *Participant) GetIncomingAssociations() []string
- func (p *Participant) GetName() string
- func (p *Participant) GetOutgoingAssociations() []string
- func (p *Participant) GetRules() []*Rule
- 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() 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) Flow() (flow []BaseElement)
- func (p *Process) GetDocumentation() string
- func (p *Process) GetId() string
- func (p *Process) GetIncomingAssociations() []string
- func (p *Process) GetName() string
- func (p *Process) GetOutgoingAssociations() []string
- func (p *Process) GetRules() []*Rule
- 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
- type Rule
- type Rules
- type ScriptTask
- func (sct *ScriptTask) GetDocumentation() string
- func (sct *ScriptTask) GetId() string
- func (sct *ScriptTask) GetIncomingAssociations() []string
- func (sct *ScriptTask) GetName() string
- func (sct *ScriptTask) GetOutgoingAssociations() []string
- func (sct *ScriptTask) GetRules() []*Rule
- func (sct *ScriptTask) GetType() ElementType
- func (sct *ScriptTask) GetXMLName() xml.Name
- func (sct *ScriptTask) ToString() string
- type SequenceFlow
- func (sf *SequenceFlow) GetConditionExpression() string
- func (sf *SequenceFlow) GetDocumentation() string
- func (sf *SequenceFlow) GetId() string
- func (sf *SequenceFlow) GetIncomingAssociations() []string
- func (sf *SequenceFlow) GetName() string
- func (sf *SequenceFlow) GetOutgoingAssociations() []string
- func (sf *SequenceFlow) GetRules() []*Rule
- 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) GetId() string
- func (svt *ServiceTask) GetIncomingAssociations() []string
- func (svt *ServiceTask) GetName() string
- func (svt *ServiceTask) GetOutgoingAssociations() []string
- func (svt *ServiceTask) GetRules() []*Rule
- 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) GetId() string
- func (se *StartEvent) GetIncomingAssociations() []string
- func (se *StartEvent) GetName() string
- func (se *StartEvent) GetOutgoingAssociations() []string
- func (se *StartEvent) GetRules() []*Rule
- 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) GetId() string
- func (sp *SubProcess) GetIncomingAssociations() []string
- func (sp *SubProcess) GetName() string
- func (sp *SubProcess) GetOutgoingAssociations() []string
- func (sp *SubProcess) GetRules() []*Rule
- 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) GetId() string
- func (t *Task) GetIncomingAssociations() []string
- func (t *Task) GetName() string
- func (t *Task) GetOutgoingAssociations() []string
- func (t *Task) GetRules() []*Rule
- func (t *Task) GetType() ElementType
- func (t *Task) GetXMLName() xml.Name
- func (t *Task) ToString() string
- type TimeDuration
- type TimerEventDefinition
- type UserTask
- func (ut *UserTask) GetDocumentation() string
- func (ut *UserTask) GetId() string
- func (ut *UserTask) GetIncomingAssociations() []string
- func (ut *UserTask) GetName() string
- func (ut *UserTask) GetOutgoingAssociations() []string
- func (ut *UserTask) GetRules() []*Rule
- 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 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) GetIncomingAssociations ¶
func (ca *CallActivity) GetIncomingAssociations() []string
func (*CallActivity) GetName ¶
func (ca *CallActivity) GetName() string
func (*CallActivity) GetOutgoingAssociations ¶
func (ca *CallActivity) GetOutgoingAssociations() []string
func (*CallActivity) GetRules ¶
func (ca *CallActivity) GetRules() []*Rule
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) 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) GetIncomingAssociations ¶
func (cv *CategoryValue) GetIncomingAssociations() []string
func (*CategoryValue) GetName ¶
func (cv *CategoryValue) GetName() string
func (*CategoryValue) GetOutgoingAssociations ¶
func (cv *CategoryValue) GetOutgoingAssociations() []string
func (*CategoryValue) GetRules ¶
func (cv *CategoryValue) GetRules() []*Rule
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 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) GetIncomingAssociations ¶
func (cn *Collaboration) GetIncomingAssociations() []string
func (*Collaboration) GetName ¶
func (cn *Collaboration) GetName() string
func (*Collaboration) GetOutgoingAssociations ¶
func (cn *Collaboration) GetOutgoingAssociations() []string
func (*Collaboration) GetRules ¶
func (cn *Collaboration) GetRules() []*Rule
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 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) 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) 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
func (*Definition) FindBaseElementsByTypeId ¶
func (d *Definition) FindBaseElementsByTypeId(t ElementType, id string) (elements *BaseElement)
FindBaseElementsByTypeId checks the type as well
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) 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
type ElementType ¶
type ElementType string
const ( B2Collaboration ElementType = "COLLABORATION" B2Participant ElementType = "PARTICIPANT" B2MessageFlow ElementType = "MESSAGE_FLOW" B2Group ElementType = "GROUP" B2Category ElementType = "CATEGORY" B2CategoryValue ElementType = "CATEGORY_VALUE" B2LaneSet ElementType = "LANE_SET" B2Lane ElementType = "LANE" 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" B2ServiceTask ElementType = "SERVICE_TASK" B2ParallelGateway ElementType = "PARALLEL_GATEWAY" B2ExclusiveGateway ElementType = "EXCLUSIVE_GATEWAY" B2IntermediateCatchEvent ElementType = "INTERMEDIATE_CATCH_EVENT" B2EventBasedGateway ElementType = "EVENT_BASED_GATEWAY" B2CallActivity ElementType = "CALL_ACTIVITY" B2SequenceFlow ElementType = "SEQUENCE_FLOW" )
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) 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) 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) GetRules ¶
func (ebg *EventBasedGateway) GetRules() []*Rule
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) 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) GetRules ¶
func (eg *ExclusiveGateway) GetRules() []*Rule
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 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) 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) 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) GetRules ¶
func (ice *IntermediateCatchEvent) GetRules() []*Rule
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 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"` ExtensionElements *ExtensionElements `xml:"extensionElements"` }
func (*Lane) GetDocumentation ¶
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) 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) GetIncomingAssociations ¶
func (mt *ManualTask) GetIncomingAssociations() []string
func (*ManualTask) GetName ¶
func (mt *ManualTask) GetName() string
func (*ManualTask) GetOutgoingAssociations ¶
func (mt *ManualTask) GetOutgoingAssociations() []string
func (*ManualTask) GetRules ¶
func (mt *ManualTask) GetRules() []*Rule
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) GetIncomingAssociations ¶
func (mf *MessageFlow) GetIncomingAssociations() []string
func (*MessageFlow) GetName ¶
func (mf *MessageFlow) GetName() string
func (*MessageFlow) GetOutgoingAssociations ¶
func (mf *MessageFlow) GetOutgoingAssociations() []string
func (*MessageFlow) GetRules ¶
func (mf *MessageFlow) GetRules() []*Rule
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) 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) GetRules ¶
func (pg *ParallelGateway) GetRules() []*Rule
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"` Documentation string `xml:"documentation"` ExtensionElements *ExtensionElements `xml:"extensionElements"` }
func (*Participant) GetDocumentation ¶
func (p *Participant) GetDocumentation() string
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) GetRules ¶
func (p *Participant) GetRules() []*Rule
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"` CallActivities []*CallActivity `xml:"callActivity"` ParallelGateways []*ParallelGateway `xml:"parallelGateway"` ExclusiveGateways []*ExclusiveGateway `xml:"exclusiveGateway"` 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() map[string]BaseElement
FindLinks finds all the Links within a process map[id]BaseElement
func (*Process) FindNodes ¶
func (p *Process) FindNodes() map[string]BaseElement
FindNodes finds all the nodes within a process map[id]BaseElement
func (*Process) FindSequenceFlows ¶
func (p *Process) FindSequenceFlows(ids []string) (sequenceFlows []*SequenceFlow)
FindSequenceFlows finds all the sequence glows in the process and sub processes of the process
func (*Process) FindSubProcessById ¶
func (p *Process) FindSubProcessById(id string) (subProcess *SubProcess)
func (*Process) Flow ¶
func (p *Process) Flow() (flow []BaseElement)
func (*Process) GetDocumentation ¶
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 list of BaseElement that match the map
type Rule ¶
type Rule struct { XMLName xml.Name `xml:"rule"` Id string `xml:"id,attr"` Type string `xml:"type,attr"` Name string `xml:"name,attr"` Description string `xml:"description,attr"` }
func GetRules ¶
func GetRules(extensionElements *ExtensionElements) []*Rule
GetRules avoids any null errors
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) GetIncomingAssociations ¶
func (sct *ScriptTask) GetIncomingAssociations() []string
func (*ScriptTask) GetName ¶
func (sct *ScriptTask) GetName() string
func (*ScriptTask) GetOutgoingAssociations ¶
func (sct *ScriptTask) GetOutgoingAssociations() []string
func (*ScriptTask) GetRules ¶
func (sct *ScriptTask) GetRules() []*Rule
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 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) GetIncomingAssociations ¶
func (sf *SequenceFlow) GetIncomingAssociations() []string
func (*SequenceFlow) GetName ¶
func (sf *SequenceFlow) GetName() string
func (*SequenceFlow) GetOutgoingAssociations ¶
func (sf *SequenceFlow) GetOutgoingAssociations() []string
func (*SequenceFlow) GetRules ¶
func (sf *SequenceFlow) GetRules() []*Rule
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) GetIncomingAssociations ¶
func (svt *ServiceTask) GetIncomingAssociations() []string
func (*ServiceTask) GetName ¶
func (svt *ServiceTask) GetName() string
func (*ServiceTask) GetOutgoingAssociations ¶
func (svt *ServiceTask) GetOutgoingAssociations() []string
func (*ServiceTask) GetRules ¶
func (svt *ServiceTask) GetRules() []*Rule
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"` 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) GetIncomingAssociations ¶
func (se *StartEvent) GetIncomingAssociations() []string
func (*StartEvent) GetName ¶
func (se *StartEvent) GetName() string
func (*StartEvent) GetOutgoingAssociations ¶
func (se *StartEvent) GetOutgoingAssociations() []string
func (*StartEvent) GetRules ¶
func (se *StartEvent) GetRules() []*Rule
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"` UserTasks []*UserTask `xml:"userTask"` CallActivities []*CallActivity `xml:"callActivity"` ParallelGateways []*ParallelGateway `xml:"parallelGateway"` ExclusiveGateways []*ExclusiveGateway `xml:"exclusiveGateway"` 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) GetIncomingAssociations ¶
func (sp *SubProcess) GetIncomingAssociations() []string
func (*SubProcess) GetName ¶
func (sp *SubProcess) GetName() string
func (*SubProcess) GetOutgoingAssociations ¶
func (sp *SubProcess) GetOutgoingAssociations() []string
func (*SubProcess) GetRules ¶
func (sp *SubProcess) GetRules() []*Rule
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) 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 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) GetIncomingAssociations ¶
func (*UserTask) GetOutgoingAssociations ¶
func (*UserTask) GetType ¶
func (ut *UserTask) GetType() ElementType