]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.layer0x.ontology/graph/Operations.pgraph
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.layer0x.ontology / graph / Operations.pgraph
1 L0 = <http://www.simantics.org/Layer0-1.1>\r
2 L0X = <http://www.simantics.org/Layer0X-1.1>\r
3 \r
4 PRED = L0X.Predicate\r
5 \r
6 // This ontology is moved from Layer0 and is deprecated but still used\r
7 \r
8 OP = L0X.Operation : L0.Library\r
9     L0.HasResourceClass "org.simantics.operation.OperationResource"\r
10     \r
11 OP.Operation <T L0.Entity\r
12 OP.AbstractContextualList <T L0.Entity\r
13 OP.ContextualList <T OP.AbstractContextualList <T L0.OrderedSet\r
14 OP.TypeBasedList <T OP.AbstractContextualList\r
15     @L0.singleProperty L0X.HasRelation\r
16 OP.ConditionalList <T OP.AbstractContextualList\r
17     @L0.singleProperty OP.HasCondition\r
18     @L0.singleProperty OP.HasThenElement\r
19 //    [HasElseElement card "0..1"]\r
20 OP.HasCondition <R L0.IsRelatedTo\r
21     L0.HasRange PRED.Predicate\r
22 OP.HasThenElement <R L0.IsRelatedTo\r
23     L0.HasRange OP.AbstractContextualList\r
24 OP.HasElseElement <R L0.IsRelatedTo\r
25     L0.HasRange OP.AbstractContextualList