Liking cljdoc? Tell your friends :D

org.soulspace.overarch.application.model-repository


->relational-modelclj

(->relational-model)
(->relational-model [res ctx])
(->relational-model [res ctx] e)

Step function for the conversion of the hierachical input model into a relational model of nodes, relations and views. res accumulates the result and the context ctx acts as the stack of the recusive calls.

Step function for the conversion of the hierachical input model into a relational model of nodes, relations and views.
`res` accumulates the result and the context `ctx` acts as the stack of the recusive calls.
sourceraw docstring

add-nodeclj

(add-node acc p e)

Update the accumulator acc of the model with the node e in the context of the parent p (if given).

Update the accumulator `acc` of the model with the node `e`
in the context of the parent `p` (if given).
sourceraw docstring

add-referenceclj

(add-reference acc p e)

Update the accumulator acc of the model with the reference e in the context of the parent p (if given).

Update the accumulator `acc` of the model with the reference `e`
in the context of the parent `p` (if given).
sourceraw docstring

add-relationclj

(add-relation acc p e)

Update the accumulator acc of the model with the relation e in the context of the parent p (if given).

Update the accumulator `acc` of the model with the relation `e`
in the context of the parent `p` (if given).
sourceraw docstring

add-themeclj

(add-theme acc p e)

Update the accumulator acc of the model with the view e in the context of the parent p (if given).

Update the accumulator `acc` of the model with the view `e`
in the context of the parent `p` (if given).
sourceraw docstring

add-viewclj

(add-view acc p e)

Update the accumulator acc of the model with the view e in the context of the parent p (if given).

Update the accumulator `acc` of the model with the view `e`
in the context of the parent `p` (if given).
sourceraw docstring

build-modelclj

(build-model coll)
(build-model options coll)

Builds the working model from the input coll of elements.

Builds the working model from the input `coll` of elements.
sourceraw docstring

check-duplicate-idclj

(check-duplicate-id acc e)
(check-duplicate-id acc p e)
source

check-elementclj

source

check-missing-idclj

(check-missing-id acc e)
(check-missing-id acc p e)
source

check-parent-overrideclj

(check-parent-override acc e)
(check-parent-override acc p e)
source

contained-in-relationclj

(contained-in-relation p-id e-id)

Returns a contained-in relation for parent p and element e.

Returns a contained-in relation for parent `p` and element `e`.
sourceraw docstring

drop-unresolvedclj

(drop-unresolved model)

Returns a model without relations referring to unresolved model nodes.

Returns a `model` without relations referring to unresolved model nodes.
sourceraw docstring

identified-nodeclj

(identified-node e p)

Returns the node e with the id set. Generates the id from es name and the parent ps id.

Returns the node `e` with the id set. Generates the id from `e`s name and the parent `p`s id.
sourceraw docstring

identified-relationclj

(identified-relation e)

Returns the relation e with the id set. Generates the id from es name and the parent ps id.

Returns the relation `e` with the id set. Generates the id from `e`s name and the parent `p`s id.
sourceraw docstring

input-child?clj

(input-child? e p)

Returns true, if element e is a child of model element p in the input model.

Returns true, if element `e` is a child of model element `p` in the input model.
sourceraw docstring

input-elementsclj

(input-elements)
(input-elements model)

Returns the set of input elements.

Returns the set of input elements.
sourceraw docstring

merge-modelclj

(merge-model)
(merge-model model)
(merge-model model other-model)

Merges the model with the other model.

Merges the `model` with the `other` model.
sourceraw docstring

modelclj

(model)

Returns the model.

Returns the model.
sourceraw docstring

model-elementsclj

(model-elements)
(model-elements model)

Returns the set of model elements (nodes and relations).

Returns the set of model elements (nodes and relations).
sourceraw docstring

node-by-idclj

(node-by-id id)
(node-by-id model id)

Returns the node with the given id.

Returns the node with the given `id`.
sourceraw docstring

nodesclj

(nodes)
(nodes model)

Returns the set of nodes.

Returns the set of nodes.
sourceraw docstring

problem->severityclj

Map of problem to severity.

Map of problem to severity.
sourceraw docstring

read-modelscljmultimethod

Reads the models with the repository of type rtype from all locations of the given path.

Reads the models with the repository of type `rtype` from all locations of the given `path`.
sourceraw docstring

relation-by-idclj

(relation-by-id id)
(relation-by-id model id)

Returns the relation with the given id.

Returns the relation with the given `id`.
sourceraw docstring

relationsclj

(relations)
(relations model)

Returns the set of relations.

Returns the set of relations.
sourceraw docstring

repo-typeclj

(repo-type rtype)
(repo-type rtype _)

Returns the repository type.

Returns the repository type.
sourceraw docstring

scope-fnclj

(scope-fn scope)
source

stateclj

source

theme-by-idclj

(theme-by-id id)
(theme-by-id model id)

Returns the theme with the given id.

Returns the theme with the given `id`.
sourceraw docstring

themesclj

(themes)
(themes model)

Returns the set of themes.

Returns the set of themes.
sourceraw docstring

update-accclj

(update-acc acc p e)

Update the accumulator acc of the model with the element e in the context of the parent p (if given).

Update the accumulator `acc` of the model with the element `e`
in the context of the parent `p` (if given).
sourceraw docstring

update-state!clj

(update-state! options)

Updates the state with the registered data read from path.

Updates the state with the registered data read from `path`.
sourceraw docstring

view-by-idclj

(view-by-id id)
(view-by-id model id)

Returns the view with the given id.

Returns the view with the given `id`.
sourceraw docstring

viewsclj

(views)
(views model)

Returns the set of views.

Returns the set of views.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close