View Javadoc

1   package org.codehaus.mojo.dashboard.report.plugin.beans;
2   
3   /*
4    * Copyright 2006 David Vicente
5    *
6    * Licensed under the Apache License, Version 2.0 (the "License");
7    * you may not use this file except in compliance with the License.
8    * You may obtain a copy of the License at
9    *
10   *      http://www.apache.org/licenses/LICENSE-2.0
11   *
12   * Unless required by applicable law or agreed to in writing, software
13   * distributed under the License is distributed on an "AS IS" BASIS,
14   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15   * See the License for the specific language governing permissions and
16   * limitations under the License.
17   */
18  
19  /**
20   * 
21   * @author <a href="dvicente72@gmail.com">David Vicente</a>
22   * 
23   */
24  public class XRefPackageBean
25  {
26      /**
27       * 
28       */
29      private Integer afferentCoupling = new Integer( 0 );
30      /**
31       * 
32       */
33      private String packageName = "";
34      /**
35       * 
36       */
37      private double lineCoverRate;
38      /**
39       * 
40       */
41      private double branchCoverRate;
42      
43      /**
44       * 
45       * @param projectName
46       */
47      public XRefPackageBean()
48      {
49      }
50      /**
51       * 
52       * @return
53       */
54      public Integer getAfferentCoupling()
55      {
56          return afferentCoupling;
57      }
58      /**
59       * 
60       * @param afferentCoupling
61       */
62      public void setAfferentCoupling( Integer afferentCoupling )
63      {
64          this.afferentCoupling = afferentCoupling;
65      }
66      /**
67       * 
68       * @return
69       */
70      public double getBranchCoverRate()
71      {
72          return branchCoverRate;
73      }
74      /**
75       * 
76       * @param branchCoverRate
77       */
78      public void setBranchCoverRate( double branchCoverRate )
79      {
80          this.branchCoverRate = branchCoverRate;
81      }
82      /**
83       * 
84       * @return
85       */
86      public double getLineCoverRate()
87      {
88          return lineCoverRate;
89      }
90      /**
91       * 
92       * @param lineCoverRate
93       */
94      public void setLineCoverRate( double lineCoverRate )
95      {
96          this.lineCoverRate = lineCoverRate;
97      }
98      /**
99       * 
100      * @return
101      */
102     public String getPackageName()
103     {
104         return packageName;
105     }
106     /**
107      * 
108      * @param packageName
109      */
110     public void setPackageName( String packageName )
111     {
112         this.packageName = packageName;
113     }
114 }