Clover coverage report -
Coverage timestamp: Sat Jul 7 2007 16:41:13 CEST
file stats: LOC: 70   Methods: 5
NCLOC: 27   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
WebServiceMsg.java 0% 0% 0% 0%
coverage
 1    /**
 2    * JTRunner is free software; you can redistribute it and/or modify it under the
 3    * terms of the GNU General Public License as published by the Free Software
 4    * Foundation; either version 2, or (at your option) any later version.
 5    */
 6   
 7    package jtr.config.ws;
 8   
 9    import java.io.Serializable;
 10    import java.util.StringTokenizer;
 11   
 12    /**
 13    * Abstract representation of a webservice message configuration element.
 14    * @author Francesco Russo (frusso@dev.java.net)
 15    * @version 4.0
 16    * @since 3.0
 17    */
 18    public class WebServiceMsg implements Serializable {
 19    /**
 20    * Default constructor.
 21    *
 22    */
 23  0 public WebServiceMsg() {
 24    }
 25   
 26    /**
 27    * Get the message name.
 28    * @return String
 29    */
 30  0 public String getName() {
 31  0 return name;
 32    }
 33   
 34    /**
 35    * Set the message name.
 36    * @param name The name to set.
 37    */
 38  0 public void setName(String name) {
 39  0 this.name = name;
 40    }
 41   
 42    /**
 43    * Set the part names.
 44    * @param partNames
 45    */
 46  0 public void setPartNames(String partNames) {
 47  0 StringTokenizer st = new StringTokenizer(partNames, PART_NAMES_DELIMITER);
 48  0 this.partNames = new String[st.countTokens()];
 49  0 int i = 0;
 50  0 while(st.hasMoreTokens()) {
 51  0 this.partNames[i++] = st.nextToken().trim();
 52    }
 53    }
 54   
 55    /**
 56    * Get the part names.
 57    * @return String[]
 58    */
 59  0 public String[] getPartNames() {
 60  0 return partNames;
 61    }
 62   
 63    /**
 64    * Part names delimiter.
 65    */
 66    public static final String PART_NAMES_DELIMITER = ",";
 67   
 68    private String name;
 69    private String[] partNames;
 70    }