EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012)
[all classes][de.uka.ipd.sdq.pcm.gmf.seff.part]

COVERAGE SUMMARY FOR SOURCE FILE [PalladioComponentModelLinkDescriptor.java]

nameclass, %method, %block, %line, %
PalladioComponentModelLinkDescriptor.java0%   (0/3)0%   (0/10)0%   (0/92)0%   (0/22)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class PalladioComponentModelLinkDescriptor0%   (0/1)0%   (0/6)0%   (0/53)0%   (0/15)
PalladioComponentModelLinkDescriptor (EObject, EObject, EObject, IElementType... 0%   (0/1)0%   (0/17)0%   (0/4)
PalladioComponentModelLinkDescriptor (EObject, EObject, EObject, int): void 0%   (0/1)0%   (0/11)0%   (0/4)
PalladioComponentModelLinkDescriptor (EObject, EObject, IElementType, int): void 0%   (0/1)0%   (0/16)0%   (0/4)
getDestination (): EObject 0%   (0/1)0%   (0/3)0%   (0/1)
getSemanticAdapter (): IAdaptable 0%   (0/1)0%   (0/3)0%   (0/1)
getSource (): EObject 0%   (0/1)0%   (0/3)0%   (0/1)
     
class PalladioComponentModelLinkDescriptor$10%   (0/1)0%   (0/2)0%   (0/18)0%   (0/5)
PalladioComponentModelLinkDescriptor$1 (PalladioComponentModelLinkDescriptor,... 0%   (0/1)0%   (0/9)0%   (0/2)
getAdapter (Class): Object 0%   (0/1)0%   (0/9)0%   (0/3)
     
class PalladioComponentModelLinkDescriptor$20%   (0/1)0%   (0/2)0%   (0/21)0%   (0/5)
PalladioComponentModelLinkDescriptor$2 (PalladioComponentModelLinkDescriptor,... 0%   (0/1)0%   (0/10)0%   (0/2)
getAdapter (Class): Object 0%   (0/1)0%   (0/11)0%   (0/3)

1/*
2 * Copyright 2006 SDQ Research Group, University of Karlsruhe (TH)
3 */
4package de.uka.ipd.sdq.pcm.gmf.seff.part;
5 
6import org.eclipse.core.runtime.IAdaptable;
7import org.eclipse.emf.ecore.EObject;
8import org.eclipse.gmf.runtime.emf.core.util.EObjectAdapter;
9import org.eclipse.gmf.runtime.emf.type.core.IElementType;
10 
11/**
12 * @generated
13 */
14public class PalladioComponentModelLinkDescriptor extends
15                PalladioComponentModelNodeDescriptor {
16 
17        /**
18         * @generated
19         */
20        private EObject mySource;
21 
22        /**
23         * @generated
24         */
25        private EObject myDestination;
26 
27        /**
28         * @generated
29         */
30        private IAdaptable mySemanticAdapter;
31 
32        /**
33         * @generated
34         */
35        private PalladioComponentModelLinkDescriptor(EObject source,
36                        EObject destination, EObject linkElement, int linkVID) {
37                super(linkElement, linkVID);
38                mySource = source;
39                myDestination = destination;
40        }
41 
42        /**
43         * @generated
44         */
45        public PalladioComponentModelLinkDescriptor(EObject source,
46                        EObject destination, IElementType elementType, int linkVID) {
47                this(source, destination, (EObject) null, linkVID);
48                final IElementType elementTypeCopy = elementType;
49                mySemanticAdapter = new IAdaptable() {
50                        public Object getAdapter(Class adapter) {
51                                if (IElementType.class.equals(adapter)) {
52                                        return elementTypeCopy;
53                                }
54                                return null;
55                        }
56                };
57        }
58 
59        /**
60         * @generated
61         */
62        public PalladioComponentModelLinkDescriptor(EObject source,
63                        EObject destination, EObject linkElement, IElementType elementType,
64                        int linkVID) {
65                this(source, destination, linkElement, linkVID);
66                final IElementType elementTypeCopy = elementType;
67                mySemanticAdapter = new EObjectAdapter(linkElement) {
68                        public Object getAdapter(Class adapter) {
69                                if (IElementType.class.equals(adapter)) {
70                                        return elementTypeCopy;
71                                }
72                                return super.getAdapter(adapter);
73                        }
74                };
75        }
76 
77        /**
78         * @generated
79         */
80        public EObject getSource() {
81                return mySource;
82        }
83 
84        /**
85         * @generated
86         */
87        public EObject getDestination() {
88                return myDestination;
89        }
90 
91        /**
92         * @generated
93         */
94        public IAdaptable getSemanticAdapter() {
95                return mySemanticAdapter;
96        }
97 
98}

[all classes][de.uka.ipd.sdq.pcm.gmf.seff.part]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov