EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012)
[all classes][de.uka.ipd.sdq.pipesandfilters.framework.recorder]

COVERAGE SUMMARY FOR SOURCE FILE [FixedWidthAggregationMetaData.java]

nameclass, %method, %block, %line, %
FixedWidthAggregationMetaData.java0%   (0/1)0%   (0/4)0%   (0/21)0%   (0/8)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class FixedWidthAggregationMetaData0%   (0/1)0%   (0/4)0%   (0/21)0%   (0/8)
FixedWidthAggregationMetaData (Measure, Measure, long): void 0%   (0/1)0%   (0/12)0%   (0/5)
getLowerBound (): Measure 0%   (0/1)0%   (0/3)0%   (0/1)
getNumberOfIntervals (): long 0%   (0/1)0%   (0/3)0%   (0/1)
getWidth (): Measure 0%   (0/1)0%   (0/3)0%   (0/1)

1package de.uka.ipd.sdq.pipesandfilters.framework.recorder;
2 
3import javax.measure.Measure;
4import javax.measure.quantity.Quantity;
5 
6/**
7 * This class holds meta information for fixed width aggregations.
8 * 
9 * @author Baum
10 * 
11 */
12public class FixedWidthAggregationMetaData {
13        private Measure<?, ? extends Quantity> lowerBound;
14        private Measure<?, ? extends Quantity> width;
15        private long numberOfIntervals;
16 
17        /**
18         * The constructor of FixedWidthAggregationMetaData
19         * 
20         * @param lowerBound
21         *            The lower bound of the aggregation.
22         * @param width
23         *            The width of an interval.
24         * @param numberOfIntervals
25         *            The number of intervals.
26         */
27        public FixedWidthAggregationMetaData(
28                        Measure<?, ? extends Quantity> lowerBound,
29                        Measure<?, ? extends Quantity> width, long numberOfIntervals) {
30                this.lowerBound = lowerBound;
31                this.width = width;
32                this.numberOfIntervals = numberOfIntervals;
33        }
34 
35        /**
36         * Returns the lower bound of the aggregation.
37         * 
38         * @return The lower bound of the aggregation.
39         */
40        public Measure<?, ? extends Quantity> getLowerBound() {
41                return lowerBound;
42        }
43 
44        /**
45         * Returns the width of an aggregation interval.
46         * 
47         * @return The width of an aggregation interval.
48         */
49        public Measure<?, ? extends Quantity> getWidth() {
50                return width;
51        }
52 
53        /**
54         * Returns the number of intervals.
55         * 
56         * @return The number of intervals.
57         */
58        public long getNumberOfIntervals() {
59                return numberOfIntervals;
60        }
61}

[all classes][de.uka.ipd.sdq.pipesandfilters.framework.recorder]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov