diff options
Diffstat (limited to 'subprojects/docs/src/learn/language')
-rw-r--r-- | subprojects/docs/src/learn/language/classes/index.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/subprojects/docs/src/learn/language/classes/index.md b/subprojects/docs/src/learn/language/classes/index.md index 73108039..18cbbf9f 100644 --- a/subprojects/docs/src/learn/language/classes/index.md +++ b/subprojects/docs/src/learn/language/classes/index.md | |||
@@ -129,7 +129,7 @@ import ReferencesOppositeSelf from './ReferencesOppositeSelf.svg'; | |||
129 | 129 | ||
130 | ### Multiplicity | 130 | ### Multiplicity |
131 | 131 | ||
132 | _Multiplicity constrains_ can be provided after the reference type in square braces. | 132 | _Multiplicity constraints_ can be provided after the reference type in square braces. |
133 | They specify how many _outgoing_ references should exist for any given instance of the class. | 133 | They specify how many _outgoing_ references should exist for any given instance of the class. |
134 | 134 | ||
135 | :::info | 135 | :::info |
@@ -150,7 +150,7 @@ If the multiplicity constraint is omitted, the bound `[0..1]` is assumed. | |||
150 | 150 | ||
151 | In the following model, the node `v1` satisfies all multiplicity constraints of `outgoingTransition`. | 151 | In the following model, the node `v1` satisfies all multiplicity constraints of `outgoingTransition`. |
152 | The node `v2` violates the lower bound constraint, while `v3` violates the upper bound constraint. | 152 | The node `v2` violates the lower bound constraint, while `v3` violates the upper bound constraint. |
153 | All `Transition` instances satisfy the multiplicity constrains associated with `source`. | 153 | All `Transition` instances satisfy the multiplicity constraints associated with `source`. |
154 | 154 | ||
155 | ```refinery | 155 | ```refinery |
156 | class Vertex { | 156 | class Vertex { |
@@ -209,4 +209,5 @@ import ContainmentInstance from './ContainmentInstance.svg'; | |||
209 | 209 | ||
210 | <ContainmentInstance /> | 210 | <ContainmentInstance /> |
211 | 211 | ||
212 | Containment edges form trees, while non-containment references, such as `target`, may point across the containment hierarchy. | 212 | Containment edges form must form a forest. |
213 | In contrast, non-containment references, such as `target`, may cross the containment hierarchy. | ||