Clover Coverage Report - XWiki Rendering - Parent POM 4.0-SNAPSHOT (Aggregated)
Coverage timestamp: Mon Mar 12 2012 18:03:13 CET
../../../../../../img/srcFileCovDistChart9.png 55% of files have more coverage
10   72   8   1.25
0   42   0.8   8
8     1  
1    
 
  RadeoxMacroParameter       Line # 22 10 0% 8 2 88.9% 0.8888889
 
  (5)
 
1    /*
2    * See the NOTICE file distributed with this work for additional
3    * information regarding copyright ownership.
4    *
5    * This is free software; you can redistribute it and/or modify it
6    * under the terms of the GNU Lesser General Public License as
7    * published by the Free Software Foundation; either version 2.1 of
8    * the License, or (at your option) any later version.
9    *
10    * This software is distributed in the hope that it will be useful,
11    * but WITHOUT ANY WARRANTY; without even the implied warranty of
12    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13    * Lesser General Public License for more details.
14    *
15    * You should have received a copy of the GNU Lesser General Public
16    * License along with this software; if not, write to the Free
17    * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
18    * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
19    */
20    package org.xwiki.rendering.parser.xwiki10.macro;
21   
 
22    public class RadeoxMacroParameter
23    {
24    private int index;
25   
26    private String name;
27   
28    private String value;
29   
 
30  45 toggle public RadeoxMacroParameter(int index, String name, String value)
31    {
32  45 this.setIndex(index);
33  45 this.setName(name);
34  45 this.setValue(value);
35    }
36   
 
37  45 toggle public void setIndex(int index)
38    {
39  45 this.index = index;
40    }
41   
 
42  0 toggle public int getIndex()
43    {
44  0 return this.index;
45    }
46   
 
47  45 toggle public void setName(String name)
48    {
49  45 this.name = name;
50    }
51   
 
52  36 toggle public String getName()
53    {
54  36 return this.name;
55    }
56   
 
57  45 toggle public void setValue(String value)
58    {
59  45 this.value = value;
60    }
61   
 
62  59 toggle public String getValue()
63    {
64  59 return this.value;
65    }
66   
 
67  18 toggle @Override
68    public String toString()
69    {
70  18 return this.value;
71    }
72    }