]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.layer0/graph/Layer0Templates.pgraph
Merge "Defined L0.ValueType to make L0.Value(s) searchable from index"
[simantics/platform.git] / bundles / org.simantics.layer0 / graph / Layer0Templates.pgraph
1 L0 = <http://www.simantics.org/Layer0-1.1>
2
3 L0.assert : L0.Template 
4     @template %type %predicate %object
5         %type
6             L0.Asserts _ : L0.Assertion
7                 L0.HasPredicate %predicate
8                 L0.HasObject    %object
9 L0.property : L0.Template
10     @template %type %relation
11         %type
12             L0.HasPropertyDefinition _ : L0.PropertyDefinition
13                 L0.ConcernsRelation %relation
14 L0.singleProperty : L0.Template
15     @template %type %relation
16         %type 
17             L0.HasPropertyDefinition _ : L0.PropertyDefinition
18                 L0.ConcernsRelation %relation
19                 L0.HasCardinalityRange L0.Cardinality1
20 L0.singlePropertyDefault : L0.Template
21     @template %type %relation %default
22         %type 
23             L0.HasPropertyDefinition _ : L0.PropertyDefinition
24                 L0.ConcernsRelation %relation
25                 L0.HasCardinalityRange L0.Cardinality1
26             L0.Asserts _ : L0.Assertion
27                 L0.HasPredicate %relation
28                 L0.HasObject %default
29 L0.optionalProperty : L0.Template
30     @template %type %relation
31         %type 
32             L0.HasPropertyDefinition _ : L0.PropertyDefinition
33                 L0.ConcernsRelation %relation
34                 L0.HasCardinalityRange L0.CardinalityAtMost1
35 L0.symmetric : L0.Template
36     @template %relation 
37         %relation L0.InverseOf %relation
38 L0.tag : L0.Template
39     @template %resource %tag
40         %resource %tag %resource
41 L0.defTag : L0.Template
42     @template %resource
43         %resource <R L0.IsWeaklyRelatedTo : L0.Tag
44
45 L0.SCLAction.valueType = "Resource -> <Proc> ()" : L0.String
46
47 L0.sclAction : L0.Template
48     @template %action %expression
49         %action : L0.SCLAction
50           L0.SCLAction.action _ : L0.SCLValue
51             L0.SCLValue.expression %expression
52             L0.HasValueType L0.SCLAction.valueType