Coverage report

  %line %branch
nl.toolforge.karma.core.boot.Property
71% 
100% 

 1  
 /*
 2  
 Karma core - Core of the Karma application
 3  
 Copyright (C) 2004  Toolforge <www.toolforge.nl>
 4  
 
 5  
 This library is free software; you can redistribute it and/or
 6  
 modify it under the terms of the GNU Lesser General Public
 7  
 License as published by the Free Software Foundation; either
 8  
 version 2.1 of the License, or (at your option) any later version.
 9  
 
 10  
 This library 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 library; if not, write to the Free Software
 17  
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 18  
 */
 19  
 package nl.toolforge.karma.core.boot;
 20  
 
 21  
 /**
 22  
  * Class representation of a <code>&lt;property&gt</code>-element in the configuration file for a
 23  
  * {@link WorkingContext}.
 24  
  *
 25  
  * @author D.A. Smedes
 26  
  * @version $Id: Property.java,v 1.2 2004/10/26 22:47:54 hippe Exp $
 27  
  */
 28  
 public class Property {
 29  
 
 30  4888
   private String name = null;
 31  4888
   private String value = null;
 32  
 
 33  4888
   public Property() {
 34  
     // Empty
 35  4888
   }
 36  
 
 37  0
   public Property(String name, String value) {
 38  0
     setName(name);
 39  0
     setValue(value);
 40  0
   }
 41  
 
 42  
   public String getName() {
 43  4888
     return name;
 44  
   }
 45  
 
 46  
   public void setName(String name) {
 47  4888
     this.name = name;
 48  4888
   }
 49  
 
 50  
   public String getValue() {
 51  4888
     return value;
 52  
   }
 53  
 
 54  
   public void setValue(String value) {
 55  4888
     this.value = value;
 56  4888
   }
 57  
 }

This report is generated by jcoverage, Maven and Maven JCoverage Plugin.