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