-L0 = <http://www.simantics.org/Layer0-1.1>\r
-\r
-\r
-// Templates\r
-\r
-L0.new : L0.Template \r
- L0.HasDescription "A builtin template that is only used in graph compilation."\r
-L0.loadBytes : L0.Template \r
- L0.HasDescription "A builtin template that is only used in graph compilation."\r
-L0.loadString : L0.Template \r
- L0.HasDescription "A builtin template that is only used in graph compilation."\r
-L0.loadDataValue : L0.Template \r
- L0.HasDescription "A builtin template that is only used in graph compilation." \r
-\r
-// Literal types \r
-L0.Graph <T L0.Literal\r
- @L0.assert L0.HasDataType ${\r
- resourceCount : Integer,\r
- extensions : Map(String, Variant),\r
- identities : {\r
- resource : Integer,\r
- definition : \r
- | Root { name : String, type : String }\r
- | External { parent : Integer, name : String }\r
- | Optional { parent : Integer, name : String }\r
- | Internal { parent : Integer, name : String }\r
- }[],\r
- statements : Integer[],\r
- values : { resource : Integer, value : Variant }[]\r
- }\r
- \r
-L0.Ontology \r
- >-- L0.HasResourceClass --> L0.String <R L0.HasProperty\r
- L0.HasDescription "A Java classname for a file containing selected resources from ontology."\r
- \r
-L0.Template <T L0.Entity\r
- L0.HasDescription """Template defines a subgraph. Instances can be adapted to org.simantics.db.layer0.adapter.Template"""\r
- >-- L0.HasTemplate --> L0.Graph <R L0.HasProperty : L0.FunctionalRelation\r
- >-- L0.HasTemplateParameters --> L0.StringArray <R L0.HasProperty : L0.TotalFunction\r
- @L0.singleProperty L0.HasTemplate\r
- @L0.singleProperty L0.HasTemplateParameters\r
+L0 = <http://www.simantics.org/Layer0-1.1>
+
+
+// Templates
+
+L0.new : L0.Template
+ L0.HasDescription "A builtin template that is only used in graph compilation."
+L0.loadBytes : L0.Template
+ L0.HasDescription "A builtin template that is only used in graph compilation."
+L0.loadString : L0.Template
+ L0.HasDescription "A builtin template that is only used in graph compilation."
+L0.loadDataValue : L0.Template
+ L0.HasDescription "A builtin template that is only used in graph compilation."
+
+// Literal types
+L0.Graph <T L0.Literal
+ @L0.assert L0.HasDataType ${
+ resourceCount : Integer,
+ extensions : Map(String, Variant),
+ identities : {
+ resource : Integer,
+ definition :
+ | Root { name : String, type : String }
+ | External { parent : Integer, name : String }
+ | Optional { parent : Integer, name : String }
+ | Internal { parent : Integer, name : String }
+ }[],
+ statements : Integer[],
+ values : { resource : Integer, value : Variant }[]
+ }
+
+L0.Ontology
+ >-- L0.HasResourceClass --> L0.String <R L0.HasProperty
+ L0.HasDescription "A Java classname for a file containing selected resources from ontology."
+
+L0.Template <T L0.Entity
+ L0.HasDescription """Template defines a subgraph. Instances can be adapted to org.simantics.db.layer0.adapter.Template"""
+ >-- L0.HasTemplate --> L0.Graph <R L0.HasProperty : L0.FunctionalRelation
+ >-- L0.HasTemplateParameters --> L0.StringArray <R L0.HasProperty : L0.TotalFunction
+ @L0.singleProperty L0.HasTemplate
+ @L0.singleProperty L0.HasTemplateParameters