|
definition: |
newStore :: String -> Entity -> [Relationship] -> [Entity] -> CFuncDecl
newStore _ entity@(Entity entityName _) relationships allEntities =
cmtfunc "The data stored for executing the \"new entity\" WUI form."
(controllerStoreName entityName "new") 0
Private
(emptyClassType $
applyTC (sessionModule "SessionStore")
[newTupleType entity relationships allEntities])
[simpleRule []
(applyF (sessionModule "sessionStore")
[string2ac $ "new" ++ entityName ++ "Store"])]
|
|
demand: |
argument 2 |
|
deterministic: |
deterministic operation |
|
documentation: |
Generates the store for WUI to create a new entity. |
|
failfree: |
<FAILING> |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{(_,{Entity},_,_) |-> _}
|
|
name: |
newStore |
|
precedence: |
no precedence defined |
|
result-values: |
_ |
|
signature: |
String -> Database.ERD.Entity -> [Database.ERD.Relationship] -> [Database.ERD.Entity] -> AbstractCurry.Types.CFuncDecl |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
possibly non-reducible on same data term |