]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.project.ontology/graph/Project.pgraph
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.project.ontology / graph / Project.pgraph
1 L0 = <http://www.simantics.org/Layer0-1.1>
2
3 DatabaseManagement = L0.DatabaseManagement
4
5 PROJ = <http://www.simantics.org/Project-1.2> : L0.Ontology
6     @L0.new
7     L0.HasResourceClass "org.simantics.project.ontology.ProjectResource"
8
9 //-------------------------------------------------------------------------------
10
11 // Projects discovery source 
12 <http://Projects> : L0.Library
13     @L0.new
14
15 PROJ.ProjectType <T L0.Entity
16 PROJ.Project : PROJ.ProjectType <T L0.Library
17     @L0.tag L0.Final
18 //    [L0.ConsistsOf all L0.Library]
19     @L0.property PROJ.HasFeature
20
21 PROJ.FeatureSpec <T L0.Entity
22     @L0.singleProperty DatabaseManagement.HasVersionedId
23     @L0.singleProperty PROJ.IsRequired
24     @L0.singleProperty PROJ.HasGroupId
25
26 PROJ.HasFeature <R L0.DependsOn
27     L0.HasRange PROJ.FeatureSpec
28
29 PROJ.HasGroupId <R L0.HasProperty
30     L0.HasDomain PROJ.FeatureSpec
31     L0.HasRange L0.String
32
33 PROJ.RequiresNamespace <R L0.HasProperty
34     L0.HasRange L0.URI
35
36 PROJ.NamespaceRequirement <T L0.Entity
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."
38     @L0.property PROJ.RequiresNamespace
39
40 PROJ.IsRequired <R L0.HasProperty
41     L0.HasRange L0.Boolean
42
43