EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012) |
---|
[all classes][de.uka.ipd.sdq.sensorframework.adapter] |
name | class, % | method, % | block, % | line, % |
---|---|---|---|---|
IdentitySensorAdapter.java | 0% (0/1) | 0% (0/2) | 0% (0/9) | 0% (0/4) |
name | class, % | method, % | block, % | line, % |
---|---|---|---|---|
class IdentitySensorAdapter | 0% (0/1) | 0% (0/2) | 0% (0/9) | 0% (0/4) |
IdentitySensorAdapter (Object): void | 0% (0/1) | 0% (0/6) | 0% (0/3) | |
getAdaptedObject (): Object | 0% (0/1) | 0% (0/3) | 0% (0/1) |
1 | package de.uka.ipd.sdq.sensorframework.adapter; |
2 | |
3 | /**Provides an adapter that allows mapping the identity. |
4 | * @author Henning Groenda |
5 | */ |
6 | public class IdentitySensorAdapter extends DataAdapter { |
7 | |
8 | /** Object to adapt */ |
9 | private Object o; |
10 | |
11 | /**Initializes a new adapter which provides access to the |
12 | * provided object. |
13 | * @param adaptee The object to adapt. |
14 | */ |
15 | public IdentitySensorAdapter(final Object adaptee) { |
16 | super(); |
17 | this.o = adaptee; |
18 | } |
19 | |
20 | /** {@inheritDoc} |
21 | */ |
22 | public Object getAdaptedObject() { |
23 | return o; |
24 | } |
25 | } |
[all classes][de.uka.ipd.sdq.sensorframework.adapter] |
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov |