diff --git a/src/FAST-Core-Model-Extension/FASTEntity.extension.st b/src/FAST-Core-Model-Extension/FASTEntity.extension.st index 0554b62..81d45d1 100644 --- a/src/FAST-Core-Model-Extension/FASTEntity.extension.st +++ b/src/FAST-Core-Model-Extension/FASTEntity.extension.st @@ -2,9 +2,11 @@ Extension { #name : #FASTEntity } { #category : #'*FAST-Core-Model-Extension' } FASTEntity >> childrenNode [ + "^ (((self class allDeclaredPropertiesIn: self metamodel) select: #isChildrenProperty thenCollect: [:childrenProperty | self perform: (childrenProperty implementingSelector)]) reject: #isNil) flattened +" - ^ (((self class allDeclaredPropertiesIn: self metamodel) select: #isChildrenProperty thenCollect: [:childrenProperty | self perform: (childrenProperty implementingSelector)]) reject: #isNil) flattened - + self deprecated: 'The method #childrenNode was not good. Use children instead.' transformWith: '`@receiver childrenNode' -> '`@receiver children'. + ^ self children ] { #category : #'*FAST-Core-Model-Extension' }