]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.project.ontology/graph/Project.pgraph
7f0296cb09b5804044bfbf57641688cbc036e0e9
[simantics/platform.git] / bundles / org.simantics.project.ontology / graph / Project.pgraph
1 L0 = <http://www.simantics.org/Layer0-1.1>\r
2 \r
3 DatabaseManagement = L0.DatabaseManagement\r
4 \r
5 PROJ = <http://www.simantics.org/Project-1.2> : L0.Ontology\r
6     @L0.new\r
7     L0.HasResourceClass "org.simantics.project.ontology.ProjectResource"\r
8 \r
9 //-------------------------------------------------------------------------------\r
10 \r
11 // Projects discovery source \r
12 <http://Projects> : L0.Library\r
13     @L0.new\r
14 \r
15 PROJ.ProjectType <T L0.Entity\r
16 PROJ.Project : PROJ.ProjectType <T L0.Library\r
17     @L0.tag L0.Final\r
18 //    [L0.ConsistsOf all L0.Library]\r
19     @L0.property PROJ.HasFeature\r
20 \r
21 PROJ.FeatureSpec <T L0.Entity\r
22     @L0.singleProperty DatabaseManagement.HasVersionedId\r
23     @L0.singleProperty PROJ.IsRequired\r
24     @L0.singleProperty PROJ.HasGroupId\r
25 \r
26 PROJ.HasFeature <R L0.DependsOn\r
27     L0.HasRange PROJ.FeatureSpec\r
28 \r
29 PROJ.HasGroupId <R L0.HasProperty\r
30     L0.HasDomain PROJ.FeatureSpec\r
31     L0.HasRange L0.String\r
32 \r
33 PROJ.RequiresNamespace <R L0.HasProperty\r
34     L0.HasRange L0.URI\r
35 \r
36 PROJ.NamespaceRequirement <T L0.Entity\r
37     L0.HasDescription "A type for describing namespace requirements for projects. Instances of this type are linked to projects using L0.IsLinkedTo to describe which URIs must be reachable in the database in order for the project to load. See org.simantics.project.features.DependencyValidationFeature for the implementation."\r
38     @L0.property PROJ.RequiresNamespace\r
39 \r
40 PROJ.IsRequired <R L0.HasProperty\r
41     L0.HasRange L0.Boolean\r
42 \r
43 \r