EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012)
[all classes][QVTRelation.impl]

COVERAGE SUMMARY FOR SOURCE FILE [QVTRelationFactoryImpl.java]

nameclass, %method, %block, %line, %
QVTRelationFactoryImpl.java0%   (0/1)0%   (0/14)0%   (0/124)0%   (0/39)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class QVTRelationFactoryImpl0%   (0/1)0%   (0/14)0%   (0/124)0%   (0/39)
QVTRelationFactoryImpl (): void 0%   (0/1)0%   (0/3)0%   (0/2)
create (EClass): EObject 0%   (0/1)0%   (0/44)0%   (0/11)
createDomainPattern (): DomainPattern 0%   (0/1)0%   (0/6)0%   (0/2)
createKey (): Key 0%   (0/1)0%   (0/6)0%   (0/2)
createOppositePropertyCallExp (): OppositePropertyCallExp 0%   (0/1)0%   (0/6)0%   (0/2)
createRelation (): Relation 0%   (0/1)0%   (0/6)0%   (0/2)
createRelationCallExp (): RelationCallExp 0%   (0/1)0%   (0/6)0%   (0/2)
createRelationDomain (): RelationDomain 0%   (0/1)0%   (0/6)0%   (0/2)
createRelationDomainAssignment (): RelationDomainAssignment 0%   (0/1)0%   (0/6)0%   (0/2)
createRelationImplementation (): RelationImplementation 0%   (0/1)0%   (0/6)0%   (0/2)
createRelationalTransformation (): RelationalTransformation 0%   (0/1)0%   (0/6)0%   (0/2)
getPackage (): QVTRelationPackage 0%   (0/1)0%   (0/2)0%   (0/1)
getQVTRelationPackage (): QVTRelationPackage 0%   (0/1)0%   (0/4)0%   (0/1)
init (): QVTRelationFactory 0%   (0/1)0%   (0/17)0%   (0/6)

1/**
2 * <copyright>
3 * </copyright>
4 *
5 * $Id$
6 */
7package QVTRelation.impl;
8 
9import QVTRelation.*;
10 
11import org.eclipse.emf.ecore.EClass;
12import org.eclipse.emf.ecore.EObject;
13import org.eclipse.emf.ecore.EPackage;
14 
15import org.eclipse.emf.ecore.impl.EFactoryImpl;
16 
17import org.eclipse.emf.ecore.plugin.EcorePlugin;
18 
19/**
20 * <!-- begin-user-doc -->
21 * An implementation of the model <b>Factory</b>.
22 * <!-- end-user-doc -->
23 * @generated
24 */
25public class QVTRelationFactoryImpl extends EFactoryImpl implements QVTRelationFactory {
26        /**
27         * Creates the default factory implementation.
28         * <!-- begin-user-doc -->
29         * <!-- end-user-doc -->
30         * @generated
31         */
32        public static QVTRelationFactory init() {
33                try {
34                        QVTRelationFactory theQVTRelationFactory = (QVTRelationFactory)EPackage.Registry.INSTANCE.getEFactory("http://schema.omg.org/spec/QVT/1.0/qvtrelation.xml"); 
35                        if (theQVTRelationFactory != null) {
36                                return theQVTRelationFactory;
37                        }
38                }
39                catch (Exception exception) {
40                        EcorePlugin.INSTANCE.log(exception);
41                }
42                return new QVTRelationFactoryImpl();
43        }
44 
45        /**
46         * Creates an instance of the factory.
47         * <!-- begin-user-doc -->
48         * <!-- end-user-doc -->
49         * @generated
50         */
51        public QVTRelationFactoryImpl() {
52                super();
53        }
54 
55        /**
56         * <!-- begin-user-doc -->
57         * <!-- end-user-doc -->
58         * @generated
59         */
60        @Override
61        public EObject create(EClass eClass) {
62                switch (eClass.getClassifierID()) {
63                        case QVTRelationPackage.DOMAIN_PATTERN: return createDomainPattern();
64                        case QVTRelationPackage.KEY: return createKey();
65                        case QVTRelationPackage.OPPOSITE_PROPERTY_CALL_EXP: return createOppositePropertyCallExp();
66                        case QVTRelationPackage.RELATION: return createRelation();
67                        case QVTRelationPackage.RELATION_CALL_EXP: return createRelationCallExp();
68                        case QVTRelationPackage.RELATION_DOMAIN: return createRelationDomain();
69                        case QVTRelationPackage.RELATION_DOMAIN_ASSIGNMENT: return createRelationDomainAssignment();
70                        case QVTRelationPackage.RELATION_IMPLEMENTATION: return createRelationImplementation();
71                        case QVTRelationPackage.RELATIONAL_TRANSFORMATION: return createRelationalTransformation();
72                        default:
73                                throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
74                }
75        }
76 
77        /**
78         * <!-- begin-user-doc -->
79         * <!-- end-user-doc -->
80         * @generated
81         */
82        public DomainPattern createDomainPattern() {
83                DomainPatternImpl domainPattern = new DomainPatternImpl();
84                return domainPattern;
85        }
86 
87        /**
88         * <!-- begin-user-doc -->
89         * <!-- end-user-doc -->
90         * @generated
91         */
92        public Key createKey() {
93                KeyImpl key = new KeyImpl();
94                return key;
95        }
96 
97        /**
98         * <!-- begin-user-doc -->
99         * <!-- end-user-doc -->
100         * @generated
101         */
102        public OppositePropertyCallExp createOppositePropertyCallExp() {
103                OppositePropertyCallExpImpl oppositePropertyCallExp = new OppositePropertyCallExpImpl();
104                return oppositePropertyCallExp;
105        }
106 
107        /**
108         * <!-- begin-user-doc -->
109         * <!-- end-user-doc -->
110         * @generated
111         */
112        public Relation createRelation() {
113                RelationImpl relation = new RelationImpl();
114                return relation;
115        }
116 
117        /**
118         * <!-- begin-user-doc -->
119         * <!-- end-user-doc -->
120         * @generated
121         */
122        public RelationCallExp createRelationCallExp() {
123                RelationCallExpImpl relationCallExp = new RelationCallExpImpl();
124                return relationCallExp;
125        }
126 
127        /**
128         * <!-- begin-user-doc -->
129         * <!-- end-user-doc -->
130         * @generated
131         */
132        public RelationDomain createRelationDomain() {
133                RelationDomainImpl relationDomain = new RelationDomainImpl();
134                return relationDomain;
135        }
136 
137        /**
138         * <!-- begin-user-doc -->
139         * <!-- end-user-doc -->
140         * @generated
141         */
142        public RelationDomainAssignment createRelationDomainAssignment() {
143                RelationDomainAssignmentImpl relationDomainAssignment = new RelationDomainAssignmentImpl();
144                return relationDomainAssignment;
145        }
146 
147        /**
148         * <!-- begin-user-doc -->
149         * <!-- end-user-doc -->
150         * @generated
151         */
152        public RelationImplementation createRelationImplementation() {
153                RelationImplementationImpl relationImplementation = new RelationImplementationImpl();
154                return relationImplementation;
155        }
156 
157        /**
158         * <!-- begin-user-doc -->
159         * <!-- end-user-doc -->
160         * @generated
161         */
162        public RelationalTransformation createRelationalTransformation() {
163                RelationalTransformationImpl relationalTransformation = new RelationalTransformationImpl();
164                return relationalTransformation;
165        }
166 
167        /**
168         * <!-- begin-user-doc -->
169         * <!-- end-user-doc -->
170         * @generated
171         */
172        public QVTRelationPackage getQVTRelationPackage() {
173                return (QVTRelationPackage)getEPackage();
174        }
175 
176        /**
177         * <!-- begin-user-doc -->
178         * <!-- end-user-doc -->
179         * @deprecated
180         * @generated
181         */
182        @Deprecated
183        public static QVTRelationPackage getPackage() {
184                return QVTRelationPackage.eINSTANCE;
185        }
186 
187} //QVTRelationFactoryImpl

[all classes][QVTRelation.impl]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov