Skip to main content

OCDeclareArc

OC-DECLARE Constraint arc/edge between two nodes (i.e., activities)
Used as Input

1

function accept this type

Used as Output

0

functions return this type(+1 nested)

Type Definition

42 nested items
OCDeclareArc— OC-DECLARE Constraint arc/edge between two nodes (i.e., activities)
arc_type*:OCDeclareArcType— OC-DECLARE Arc Direction/Type
variant 1:"AS"— Association: No temporal restrictions
variant 2:"EF"— Eventually-Follows: Target must occur after source event
variant 3:"EP"— Eventually-Precedes: Target must occur before source event
variant 4:"DF"— Directly-Follows: Target must occur directly after source event (considering events that involve all required objects)
variant 5:"DP"— Directly-Precedes: Target must occur directly before source event (considering events that involve all required objects)
counts*:(Option<i64>, Option<i64>)— First tuple element: min count (optional), Second: max count (optional)
[0]:Option<i64>
[1]:Option<i64>
from*:OCDeclareNode— OC-DECLARE node (Activity or Object Init/Exit)
label*:OCDeclareArcLabel— Object Involvement Label of an OC-DECLARE arc
to*:OCDeclareNode— OC-DECLARE node (Activity or Object Init/Exit)

Example JSON Value

json
{
  "arc_type": "AS",
  "counts": [
    1,
    1
  ],
  "from": "example",
  "label": {
    "all": [
      {
        "object_type": "order",
        "type": "Simple"
      }
    ],
    "any": [
      {
        "object_type": "order",
        "type": "Simple"
      }
    ],
    "each": [
      {
        "object_type": "order",
        "type": "Simple"
      }
    ]
  },
  "to": "example"
}

Functions Accepting This Type(1)