]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.softwareconfiguration.ontology/graph/SoftwareConfiguration.pgraph
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.softwareconfiguration.ontology / graph / SoftwareConfiguration.pgraph
1 L0 = <http://www.simantics.org/Layer0-1.1>\r
2 SC = <http://www.simantics.org/SoftwareConfiguration-1.1> : L0.Ontology\r
3     @L0.new\r
4     L0.HasResourceClass "org.simantics.layer0.SoftwareConfigurationResources"\r
5         \r
6 SC.Product <T L0.Entity\r
7     L0.HasDescription """Describes a software product which may have multiple versions.""" \r
8 SC.Version <T L0.Entity    \r
9     L0.HasDescription """One version of some product."""    \r
10 SC.Version.Of <R L0.IsRelatedTo : L0.TotalFunction\r
11     L0.HasDomain SC.Version\r
12     L0.HasRange SC.Product\r
13 SC.Version.HasUpdate <R L0.IsRelatedTo\r
14     L0.InverseOf SC.Update.From\r
15 \r
16 SC.Update <T L0.Entity\r
17     L0.HasDescription """Describes an update from one version of the product to other."""\r
18 SC.Update.From <R L0.IsRelatedTo : L0.TotalFunction\r
19     L0.HasDomain SC.Update\r
20     L0.HasRange SC.Version\r
21 SC.Update.To <R L0.IsRelatedTo : L0.TotalFunction\r
22     L0.HasDomain SC.Update\r
23     L0.HasRange SC.Version\r
24 SC.Update.HasMigrationAction <R L0.IsRelatedTo\r
25     L0.HasDomain SC.Update\r
26     L0.HasRange <http://www.simantics.org/Action-1.1/Action>\r
27 \r
28 SC.IsCompatibleWith <R L0.IsRelatedTo\r
29     L0.HasDescription """Tells that the entity is compatible with a certain version of a product."""\r
30     L0.HasDomain L0.Entity\r
31     L0.HasRange SC.Version\r
32     \r
33 SC.HasVersion <R L0.DependsOn : L0.TotalFunction\r
34     L0.HasDescription """Tells that the entity is built with a certain version of a product."""\r
35     L0.HasDomain L0.Entity\r
36     L0.HasRange SC.Version