Documentation
¶
Index ¶
- func FindSourceRefs(sequenceFlows []TSequenceFlow, id string) (ret []string)
- type BaseElement
- type ElementType
- type TDefinitions
- type TEndEvent
- type TEventBasedGateway
- func (eventBasedGateway TEventBasedGateway) GetId() string
- func (eventBasedGateway TEventBasedGateway) GetIncomingAssociation() []string
- func (eventBasedGateway TEventBasedGateway) GetName() string
- func (eventBasedGateway TEventBasedGateway) GetOutgoingAssociation() []string
- func (eventBasedGateway TEventBasedGateway) GetType() ElementType
- type TExclusiveGateway
- func (exclusiveGateway TExclusiveGateway) GetId() string
- func (exclusiveGateway TExclusiveGateway) GetIncomingAssociation() []string
- func (exclusiveGateway TExclusiveGateway) GetName() string
- func (exclusiveGateway TExclusiveGateway) GetOutgoingAssociation() []string
- func (exclusiveGateway TExclusiveGateway) GetType() ElementType
- type TExpression
- type TIntermediateCatchEvent
- func (intermediateCatchEvent TIntermediateCatchEvent) GetId() string
- func (intermediateCatchEvent TIntermediateCatchEvent) GetIncomingAssociation() []string
- func (intermediateCatchEvent TIntermediateCatchEvent) GetName() string
- func (intermediateCatchEvent TIntermediateCatchEvent) GetOutgoingAssociation() []string
- func (intermediateCatchEvent TIntermediateCatchEvent) GetType() ElementType
- type TMessage
- type TMessageEventDefinition
- type TParallelGateway
- func (parallelGateway TParallelGateway) GetId() string
- func (parallelGateway TParallelGateway) GetIncomingAssociation() []string
- func (parallelGateway TParallelGateway) GetName() string
- func (parallelGateway TParallelGateway) GetOutgoingAssociation() []string
- func (parallelGateway TParallelGateway) GetType() ElementType
- type TProcess
- type TSequenceFlow
- type TServiceTask
- type TStartEvent
- type TTimeDuration
- type TTimerEventDefinition
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindSourceRefs ¶
func FindSourceRefs(sequenceFlows []TSequenceFlow, id string) (ret []string)
Types ¶
type BaseElement ¶
type BaseElement interface {
GetId() string
GetName() string
GetIncomingAssociation() []string
GetOutgoingAssociation() []string
GetType() ElementType
}
func FindBaseElementsById ¶
func FindBaseElementsById(definitions TDefinitions, id string) (elements []BaseElement)
type ElementType ¶
type ElementType string
const ( StartEvent ElementType = "START_EVENT" EndEvent ElementType = "END_EVENT" ServiceTask ElementType = "SERVICE_TASK" ParallelGateway ElementType = "PARALLEL_GATEWAY" ExclusiveGateway ElementType = "EXCLUSIVE_GATEWAY" IntermediateCatchEvent ElementType = "INTERMEDIATE_CATCH_EVENT" EventBasedGateway ElementType = "EVENT_BASED_GATEWAY" SequenceFlow ElementType = "SEQUENCE_FLOW" )
type TDefinitions ¶
type TDefinitions 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"`
Process TProcess `xml:"process"`
Messages []TMessage `xml:"message"`
}
type TEndEvent ¶
type TEndEvent struct {
XMLName xml.Name `xml:"endEvent"`
Id string `xml:"id,attr"`
Name string `xml:"name,attr"`
IncomingAssociation []string `xml:"incoming"`
OutgoingAssociation []string `xml:"outgoing"`
}
func (TEndEvent) GetIncomingAssociation ¶
func (TEndEvent) GetOutgoingAssociation ¶
func (TEndEvent) GetType ¶
func (endEvent TEndEvent) GetType() ElementType
type TEventBasedGateway ¶
type TEventBasedGateway struct {
XMLName xml.Name `xml:"eventBasedGateway"`
Id string `xml:"id,attr"`
Name string `xml:"name,attr"`
IncomingAssociation []string `xml:"incoming"`
OutgoingAssociation []string `xml:"outgoing"`
}
func (TEventBasedGateway) GetId ¶
func (eventBasedGateway TEventBasedGateway) GetId() string
func (TEventBasedGateway) GetIncomingAssociation ¶
func (eventBasedGateway TEventBasedGateway) GetIncomingAssociation() []string
func (TEventBasedGateway) GetName ¶
func (eventBasedGateway TEventBasedGateway) GetName() string
func (TEventBasedGateway) GetOutgoingAssociation ¶
func (eventBasedGateway TEventBasedGateway) GetOutgoingAssociation() []string
func (TEventBasedGateway) GetType ¶
func (eventBasedGateway TEventBasedGateway) GetType() ElementType
type TExclusiveGateway ¶
type TExclusiveGateway struct {
XMLName xml.Name `xml:"exclusiveGateway"`
Id string `xml:"id,attr"`
Name string `xml:"name,attr"`
IncomingAssociation []string `xml:"incoming"`
OutgoingAssociation []string `xml:"outgoing"`
}
func (TExclusiveGateway) GetId ¶
func (exclusiveGateway TExclusiveGateway) GetId() string
func (TExclusiveGateway) GetIncomingAssociation ¶
func (exclusiveGateway TExclusiveGateway) GetIncomingAssociation() []string
func (TExclusiveGateway) GetName ¶
func (exclusiveGateway TExclusiveGateway) GetName() string
func (TExclusiveGateway) GetOutgoingAssociation ¶
func (exclusiveGateway TExclusiveGateway) GetOutgoingAssociation() []string
func (TExclusiveGateway) GetType ¶
func (exclusiveGateway TExclusiveGateway) GetType() ElementType
type TExpression ¶ added in v0.2.0
type TIntermediateCatchEvent ¶
type TIntermediateCatchEvent struct {
XMLName xml.Name `xml:"intermediateCatchEvent"`
Id string `xml:"id,attr"`
Name string `xml:"name,attr"`
IncomingAssociation []string `xml:"incoming"`
OutgoingAssociation []string `xml:"outgoing"`
MessageEventDefinition TMessageEventDefinition `xml:"messageEventDefinition"`
TimerEventDefinition TTimerEventDefinition `xml:"timerEventDefinition"`
ParallelMultiple bool `xml:"parallelMultiple"`
}
func (TIntermediateCatchEvent) GetId ¶
func (intermediateCatchEvent TIntermediateCatchEvent) GetId() string
func (TIntermediateCatchEvent) GetIncomingAssociation ¶
func (intermediateCatchEvent TIntermediateCatchEvent) GetIncomingAssociation() []string
func (TIntermediateCatchEvent) GetName ¶
func (intermediateCatchEvent TIntermediateCatchEvent) GetName() string
func (TIntermediateCatchEvent) GetOutgoingAssociation ¶
func (intermediateCatchEvent TIntermediateCatchEvent) GetOutgoingAssociation() []string
func (TIntermediateCatchEvent) GetType ¶
func (intermediateCatchEvent TIntermediateCatchEvent) GetType() ElementType
type TMessageEventDefinition ¶
type TParallelGateway ¶
type TParallelGateway struct {
XMLName xml.Name `xml:"parallelGateway"`
Id string `xml:"id,attr"`
Name string `xml:"name,attr"`
IncomingAssociation []string `xml:"incoming"`
OutgoingAssociation []string `xml:"outgoing"`
}
func (TParallelGateway) GetId ¶
func (parallelGateway TParallelGateway) GetId() string
func (TParallelGateway) GetIncomingAssociation ¶
func (parallelGateway TParallelGateway) GetIncomingAssociation() []string
func (TParallelGateway) GetName ¶
func (parallelGateway TParallelGateway) GetName() string
func (TParallelGateway) GetOutgoingAssociation ¶
func (parallelGateway TParallelGateway) GetOutgoingAssociation() []string
func (TParallelGateway) GetType ¶
func (parallelGateway TParallelGateway) GetType() ElementType
type TProcess ¶
type TProcess 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"`
StartEvents []TStartEvent `xml:"startEvent"`
EndEvents []TEndEvent `xml:"endEvent"`
SequenceFlows []TSequenceFlow `xml:"sequenceFlow"`
ServiceTasks []TServiceTask `xml:"serviceTask"`
ParallelGateway []TParallelGateway `xml:"parallelGateway"`
ExclusiveGateway []TExclusiveGateway `xml:"exclusiveGateway"`
IntermediateCatchEvent []TIntermediateCatchEvent `xml:"intermediateCatchEvent"`
EventBasedGateway []TEventBasedGateway `xml:"eventBasedGateway"`
}
type TSequenceFlow ¶
type TSequenceFlow 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 []TExpression `xml:"conditionExpression"`
}
func FindSequenceFlows ¶ added in v0.2.0
func FindSequenceFlows(sequenceFlows *[]TSequenceFlow, ids []string) (ret []TSequenceFlow)
func (TSequenceFlow) GetConditionExpression ¶ added in v0.2.0
func (flow TSequenceFlow) GetConditionExpression() string
GetConditionExpression returns the embedded expression. There will be a panic thrown, in case none exists!
func (TSequenceFlow) HasConditionExpression ¶ added in v0.2.0
func (flow TSequenceFlow) HasConditionExpression() bool
HasConditionExpression returns true, if there's exactly 1 expression present (as by the spec) and there's some non-whitespace-characters available
type TServiceTask ¶
type TServiceTask struct {
XMLName xml.Name `xml:"serviceTask"`
Id string `xml:"id,attr"`
Name string `xml:"name,attr"`
Default string `xml:"default,attr"`
CompletionQuantity int `xml:"completionQuantity,attr"`
IsForCompensation bool `xml:"isForCompensation,attr"`
OperationRef string `xml:"operationRef,attr"`
Implementation string `xml:"implementation,attr"`
IncomingAssociation []string `xml:"incoming"`
OutgoingAssociation []string `xml:"outgoing"`
}
func (TServiceTask) GetId ¶
func (serviceTask TServiceTask) GetId() string
func (TServiceTask) GetIncomingAssociation ¶
func (serviceTask TServiceTask) GetIncomingAssociation() []string
func (TServiceTask) GetName ¶
func (serviceTask TServiceTask) GetName() string
func (TServiceTask) GetOutgoingAssociation ¶
func (serviceTask TServiceTask) GetOutgoingAssociation() []string
func (TServiceTask) GetType ¶
func (serviceTask TServiceTask) GetType() ElementType
type TStartEvent ¶
type TStartEvent 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"`
IncomingAssociation []string `xml:"incoming"`
OutgoingAssociation []string `xml:"outgoing"`
}
func (TStartEvent) GetId ¶
func (startEvent TStartEvent) GetId() string
func (TStartEvent) GetIncomingAssociation ¶
func (startEvent TStartEvent) GetIncomingAssociation() []string
func (TStartEvent) GetName ¶
func (startEvent TStartEvent) GetName() string
func (TStartEvent) GetOutgoingAssociation ¶
func (startEvent TStartEvent) GetOutgoingAssociation() []string
func (TStartEvent) GetType ¶
func (startEvent TStartEvent) GetType() ElementType
type TTimeDuration ¶
type TTimerEventDefinition ¶
type TTimerEventDefinition struct {
XMLName xml.Name `xml:"timerEventDefinition"`
Id string `xml:"id,attr"`
TimeDuration TTimeDuration `xml:"timeDuration"`
}
Click to show internal directories.
Click to hide internal directories.