This repository has been archived on 2025-12-25. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
tcommon-studio-se/org.talend.model.migration/transformation/development/Config.atl
2011-11-25 15:56:59 +00:00

44 lines
1.5 KiB
ATL

-- @atlcompiler atl2006
-- $Id$
library Config;
-- adapt the following helper to reflect your file path
helper context String def : path : String =
'/org.talend.model.migration/transformation/development/' + self;
-- adapt the following inclusion condition for your specific model
helper context ECORE!"ecore::EClass" def : inclusionCondition : Boolean =
not (
self.name = 'EAttribute' or
self.name = 'EClass' or
self.name = 'EDataType' or
self.name = 'EEnum' or
self.name = 'EEnumLiteral' or
self.name = 'EFactory' or
self.name = 'EObject' or
self.name = 'EOperation' or
self.name = 'EPackage' or
self.name = 'EParameter' or
self.name = 'EReference' or
self.name = 'EGenericType' or
self.name = 'ETypeParameter' or
self.name = 'Profile' or
self.name = 'Stereotype'
);
-- select whether or not to use fully qualified meta-class names (<package>::<class>)
helper context ECORE!"ecore::ENamedElement" def : useQualifiedName : Boolean =
true;
-- select whether or not to use fully qualified rule names (<package>::<class>)
helper context ECORE!"ecore::ENamedElement" def : useQualifiedRuleName : Boolean =
true;
-- select whether or not to copy the __xmiid__ attribute
helper context ECORE!"ecore::EClass" def : copyXmiID : Boolean =
true;
-- select whether or not to use an intermediate s.isInElement helper attribute,
-- or use thisModule.isElements->includes(s) straight away.
helper context ECORE!"ecore::EClass" def : useIsInElementHelper : Boolean =
false;