]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.layer0/graph/Layer0VariableProperties.pgraph
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.layer0 / graph / Layer0VariableProperties.pgraph
diff --git a/bundles/org.simantics.layer0/graph/Layer0VariableProperties.pgraph b/bundles/org.simantics.layer0/graph/Layer0VariableProperties.pgraph
new file mode 100644 (file)
index 0000000..634a51d
--- /dev/null
@@ -0,0 +1,40 @@
+L0 = <http://www.simantics.org/Layer0-1.1>\r
+\r
+L0.valid ==> "Boolean" <R L0.HasProperty : L0.FunctionalRelation\r
+L0.required ==> "Boolean" <R L0.HasProperty : L0.FunctionalRelation\r
+L0.default ==> "Boolean" <R L0.HasProperty : L0.FunctionalRelation\r
+L0.readOnly ==> "Boolean" <R L0.HasProperty : L0.FunctionalRelation\r
+L0.validator ==> "StringInputValidator" <R L0.HasProperty : L0.FunctionalRelation\r
+\r
+L0.Entity\r
+  >-- L0.hasStandardResource ==> "Resource" <R L0.HasProperty : L0.FunctionalRelation\r
+    L0.HasDescription "The backend resource for standard graph-based Variables."\r
+  >-- L0.domainProperties ==> "VariableMap" <R L0.HasProperty : L0.FunctionalRelation \r
+    L0.HasDescription "Returns a map of all domain properties of the entity."\r
+  >-- L0.domainChildren ==> "VariableMap" <R L0.HasProperty : L0.FunctionalRelation \r
+    L0.HasDescription "Returns a map of all domain children of the entity."\r
+  >-- L0.valueAccessor ==> "ValueAccessor" <R L0.HasProperty : L0.FunctionalRelation \r
+    L0.HasDescription "Returns an interface for accessing the value."\r
+  @L0.assert L0.hasStandardResource L0.Functions.hasStandardResource\r
+  @L0.assert L0.domainProperties L0.Functions.standardChildDomainProperties\r
+  @L0.assert L0.domainChildren L0.Functions.standardChildDomainChildren\r
+\r
+L0.Value\r
+  @L0.assert L0.domainProperties L0.Functions.standardPropertyDomainProperties\r
+  @L0.assert L0.domainChildren L0.Functions.standardPropertyDomainChildren\r
+  \r
+L0.Relation\r
+  >-- L0.classifications ==> "[String]" <R L0.HasProperty : L0.FunctionalRelation \r
+    L0.HasDescription "Returns a set of classifications for this property."\r
+  @L0.assert L0.classifications L0.Functions.standardClassifications\r
+  @L0.assert L0.required L0.Functions.standardRequiredValue\r
+  @L0.assert L0.readOnly L0.Functions.standardReadOnlyValue\r
+  @L0.assert L0.valid L0.Functions.standardValidValue\r
+  @L0.assert L0.default L0.Functions.standardDefaultValue\r
+  @L0.assert L0.validator L0.Functions.standardValidator\r
+  \r
+L0.PropertyRelation  \r
+  @L0.assert L0.domainProperties L0.Functions.standardPropertyDomainProperties\r
+  @L0.assert L0.domainChildren L0.Functions.standardPropertyDomainChildren\r
+  @L0.assert L0.valueAccessor L0.Functions.standardValueAccessor\r
+  \r