Line | Hits | Source |
---|---|---|
1 | /******************************************************************************* | |
2 | * Demetrix process modelling system | |
3 | * | |
4 | * Copyright (c) 2003, 2004 Dimitri A. Pissarenko | |
5 | * | |
6 | * This file is part of Demetrix. | |
7 | * | |
8 | * Demetrix is free software; you can redistribute it and/or modify | |
9 | * it under the terms of the GNU General Public License as published by | |
10 | * the Free Software Foundation; either version 2.1 of the License, or | |
11 | * (at your option) any later version. | |
12 | * | |
13 | * Demetrix is distributed in the hope that it will be useful, | |
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | * GNU General Public License for more details. | |
17 | * | |
18 | * You should have received a copy of the GNU General Public License | |
19 | * along with Demetrix; if not, write to the Free Software | |
20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
21 | * | |
22 | * For further information you may | |
23 | * | |
24 | * - send an e-mail in Russian, German or English to dimitri.pissarenko@gmx.net | |
25 | * - look at http://sourceforge.net/projects/demetrix/ | |
26 | * - look at http://demetrix.sourceforge.net/ | |
27 | * - look at http://members.inode.at/d.pissarenko/ | |
28 | * | |
29 | *****************************************************************************/ | |
30 | /* | |
31 | * Created on 15.01.2004 | |
32 | */ | |
33 | package net.sourceforge.demetrix.test.properties; | |
34 | ||
35 | /** | |
36 | * @author Dimitri Pissarenko | |
37 | * | |
38 | */ | |
39 | 13 | public class IntrospectableBean { |
40 | double mass; | |
41 | String name; | |
42 | int pieces; | |
43 | boolean input; | |
44 | /** | |
45 | * @return | |
46 | */ | |
47 | public boolean isInput() { | |
48 | 16 | return input; |
49 | } | |
50 | ||
51 | /** | |
52 | * @return | |
53 | */ | |
54 | public double getMass() { | |
55 | 15 | return mass; |
56 | } | |
57 | ||
58 | /** | |
59 | * @return | |
60 | */ | |
61 | public String getName() { | |
62 | 18 | return name; |
63 | } | |
64 | ||
65 | /** | |
66 | * @return | |
67 | */ | |
68 | public int getPieces() { | |
69 | 16 | return pieces; |
70 | } | |
71 | ||
72 | /** | |
73 | * @param b | |
74 | */ | |
75 | public void setInput(boolean b) { | |
76 | 7 | input = b; |
77 | 7 | } |
78 | ||
79 | /** | |
80 | * @param d | |
81 | */ | |
82 | public void setMass(double d) { | |
83 | 7 | mass = d; |
84 | 7 | } |
85 | ||
86 | /** | |
87 | * @param string | |
88 | */ | |
89 | public void setName(String string) { | |
90 | 9 | name = string; |
91 | 9 | } |
92 | ||
93 | /** | |
94 | * @param i | |
95 | */ | |
96 | public void setPieces(int i) { | |
97 | 7 | pieces = i; |
98 | 7 | } |
99 | ||
100 | } |
this report was generated by version 1.0.5 of jcoverage. |
copyright © 2003, jcoverage ltd. all rights reserved. |