Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ExampleEquivalent Example
Code Block
languagejs
titleExample Edge Rule
collapsetrue
{
“from”: “tenant”,
“to”: “vserver”,
“label”: “owns”,
“direction”: “OUT”,
“multiplicity”: “One2Many”,
“contains-other-v”: “${direction}”,
“delete-other-v”: “NONE”,
“SVC-INFRA”: “!${direction}”,
“prevent-delete”: “${direction}”
}
Code Block
languagejs
titleEquivalent Edge Rule
collapsetrue
{
“from”: “vserver”,
“to”: “tenant”,
“label”: “owns”,
“direction”: “IN”,
“multiplicity”: “One2Many”,
“contains-other-v”: “!${direction}”,
“delete-other-v”: “NONE”,
“SVC-INFRA”: “${direction}”,
“prevent-delete”: “!${direction}”
}
Code Block
languagetext
titleHow to read in/out/direction
collapsetrue
How to read "from"/"to" and "direction" in this case:
- the "in" node is "vserver"
- the "out" node is "tenant"

Code Block
languagetext
titleHow to read the label
collapsetrue
How to read the "label" in this case:
- ("out" node) "label" ("in" node)


i.e. tenant "owns" vserver

Code Block
languagetext
titleHow to read multiplicity
collapsetrue
How to read "multiplicity" in ofthis "One2Many"case:
- ("in" node) cardinality is "one"
- ("out" node) cardinality is "many"


i.e.
Each "tenant" has one "vserver"
Each "vserver" has many "tenants"

Code Block
languagetext
titleHow to read contains-other-v
collapsetrue
How to read "contains-other-v" in this case:
- traversal of ("out" node) includes data for ("in" node)


i.e. traversal of "tenant" includes data for "vserver"

Code Block
languagetext
titleHow to read delete-other-v
collapsetrue
How to read "delete-other-v" in this case:
- delete of ("out" node) includes does nothing to ("in" node)


i.e. delete of "tenant" includes does nothing to "vserver"

Code Block
languagetext
titleHow to read SVC-INFRA
How to read "SVC-INFRA" in this case:
- when running edge-tag-query on ("in" node) traverse to ("out" node) and continue


i.e. when running edge-tag- ?query on "vserver" traverse to "tenant" and continue

Code Block
languagetext
titleHow to read prevent-delete
collapsetrue
How to read "prevent-delete" in this case:
- prevent delete of ("out" node) is prevented when related to ("in" node), allow delete of ("in" node)

i.e.
prevent delete of "tenant" is prevented when related to "vserver", allow delete of "vserver"


General Applicability

...