Skip to content

Commit 32a3c69

Browse files
committed
Remove genericChildren/parent relation
1 parent ed31d94 commit 32a3c69

File tree

2 files changed

+0
-64
lines changed

2 files changed

+0
-64
lines changed

src/FAST-Python-Model-Generator/FASTPythonMetamodelGenerator.class.st

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -629,8 +629,6 @@ FASTPythonMetamodelGenerator >> defineProperties [
629629
FASTPythonMetamodelGenerator >> defineRelations [
630630

631631
super defineRelations.
632-
633-
(entity property: #genericChildren) <>-* (entity property: #genericParent).
634632

635633
(assignment property: #left) <>- (tAssignable property: #parentAssignmentLeft).
636634
(assignment property: #right) <>- (expression property: #parentAssignmentRight).

src/FAST-Python-Model/FASTPyEntity.class.st

Lines changed: 0 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,10 @@
22
## Relations
33
======================
44
5-
### Parents
6-
| Relation | Origin | Opposite | Type | Comment |
7-
|---|
8-
| `genericParent` | `FASTPyEntity` | `genericChildren` | `FASTPyEntity` | |
9-
105
### Children
116
| Relation | Origin | Opposite | Type | Comment |
127
|---|
138
| `comments` | `FASTTWithComments` | `container` | `FASTTComment` | list of comments defined in the entity|
14-
| `genericChildren` | `FASTPyEntity` | `genericParent` | `FASTPyEntity` | |
159
1610
1711
## Properties
@@ -28,10 +22,6 @@ Class {
2822
#superclass : 'MooseEntity',
2923
#traits : 'FASTTEntity + FASTTWithComments',
3024
#classTraits : 'FASTTEntity classTrait + FASTTWithComments classTrait',
31-
#instVars : [
32-
'#genericChildren => FMMany type: #FASTPyEntity opposite: #genericParent',
33-
'#genericParent => FMOne type: #FASTPyEntity opposite: #genericChildren'
34-
],
3525
#category : 'FAST-Python-Model-Entities',
3626
#package : 'FAST-Python-Model',
3727
#tag : 'Entities'
@@ -61,58 +51,6 @@ FASTPyEntity class >> metamodel [
6151
^ FASTPyModel metamodel
6252
]
6353

64-
{ #category : 'adding' }
65-
FASTPyEntity >> addGenericChild: anObject [
66-
<generated>
67-
^ self genericChildren add: anObject
68-
]
69-
70-
{ #category : 'accessing' }
71-
FASTPyEntity >> genericChildren [
72-
"Relation named: #genericChildren type: #FASTPyEntity opposite: #genericParent"
73-
74-
<generated>
75-
<derived>
76-
^ genericChildren
77-
]
78-
79-
{ #category : 'accessing' }
80-
FASTPyEntity >> genericChildren: anObject [
81-
82-
<generated>
83-
genericChildren value: anObject
84-
]
85-
86-
{ #category : 'navigation' }
87-
FASTPyEntity >> genericChildrenGroup [
88-
<generated>
89-
<navigation: 'GenericChildren'>
90-
^ MooseSpecializedGroup withAll: self genericChildren asSet
91-
]
92-
93-
{ #category : 'accessing' }
94-
FASTPyEntity >> genericParent [
95-
"Relation named: #genericParent type: #FASTPyEntity opposite: #genericChildren"
96-
97-
<generated>
98-
<container>
99-
^ genericParent
100-
]
101-
102-
{ #category : 'accessing' }
103-
FASTPyEntity >> genericParent: anObject [
104-
105-
<generated>
106-
genericParent := anObject
107-
]
108-
109-
{ #category : 'navigation' }
110-
FASTPyEntity >> genericParentGroup [
111-
<generated>
112-
<navigation: 'GenericParent'>
113-
^ MooseSpecializedGroup with: self genericParent
114-
]
115-
11654
{ #category : 'testing' }
11755
FASTPyEntity >> hasImmediateSource [
11856

0 commit comments

Comments
 (0)