1 L0 = <http://www.simantics.org/Layer0-1.1>
7 L0.HasDescription "A builtin template that is only used in graph compilation."
8 L0.loadBytes : L0.Template
9 L0.HasDescription "A builtin template that is only used in graph compilation."
10 L0.loadString : L0.Template
11 L0.HasDescription "A builtin template that is only used in graph compilation."
12 L0.loadDataValue : L0.Template
13 L0.HasDescription "A builtin template that is only used in graph compilation."
16 L0.Graph <T L0.Literal
17 @L0.assert L0.HasDataType ${
18 resourceCount : Integer,
19 extensions : Map(String, Variant),
23 | Root { name : String, type : String }
24 | External { parent : Integer, name : String }
25 | Optional { parent : Integer, name : String }
26 | Internal { parent : Integer, name : String }
28 statements : Integer[],
29 values : { resource : Integer, value : Variant }[]
33 >-- L0.HasResourceClass --> L0.String <R L0.HasProperty
34 L0.HasDescription "A Java classname for a file containing selected resources from ontology."
36 L0.Template <T L0.Entity
37 L0.HasDescription """Template defines a subgraph. Instances can be adapted to org.simantics.db.layer0.adapter.Template"""
38 >-- L0.HasTemplate --> L0.Graph <R L0.HasProperty : L0.FunctionalRelation
39 >-- L0.HasTemplateParameters --> L0.StringArray <R L0.HasProperty : L0.TotalFunction
40 @L0.singleProperty L0.HasTemplate
41 @L0.singleProperty L0.HasTemplateParameters