Clover coverage report -
Coverage timestamp: Sat Jul 7 2007 16:41:13 CEST
file stats: LOC: 101   Methods: 9
NCLOC: 34   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
WebServiceRtPort.java - 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.ws.wsif;
 8   
 9    import java.util.HashMap;
 10   
 11    import org.apache.wsif.WSIFPort;
 12   
 13    /**
 14    * This is the WSIF-based runtime representation of a <code>port</code>.
 15    *
 16    * @author Francesco Russo (frusso@dev.java.net)
 17    * @version 4.0
 18    * @since 3.0
 19    */
 20    public class WebServiceRtPort {
 21    /**
 22    * Default constructor.
 23    */
 24  0 public WebServiceRtPort() {
 25  0 operations = new HashMap<String, WebServiceRtOperation>();
 26    }
 27   
 28    /**
 29    * Set the port name.
 30    * @param name The port name
 31    */
 32  0 public void setName(String name) {
 33  0 this.name = name;
 34    }
 35   
 36    /**
 37    * Get the port name.
 38    * @return String The port name
 39    */
 40  0 public String getName() {
 41  0 return name;
 42    }
 43   
 44    /**
 45    * Get all the available operations.
 46    * @return HashMap<String, WebServiceRtOperation> Returns the available operations.
 47    */
 48  0 public HashMap<String, WebServiceRtOperation> getOperations() {
 49  0 return operations;
 50    }
 51   
 52    /**
 53    * Set all the available operations.
 54    * @param operations
 55    * The operations to set.
 56    */
 57  0 public void setOperations(HashMap<String, WebServiceRtOperation> operations) {
 58  0 this.operations = operations;
 59    }
 60   
 61    /**
 62    * Add a simgle operation.
 63    * @param name The operation name
 64    * @param operation The operation
 65    */
 66  0 public void addOperation(String name, WebServiceRtOperation operation) {
 67  0 operations.put(name, operation);
 68    }
 69   
 70    /**
 71    * Get a simgle operation by name.
 72    * @param name The operation name
 73    * @return WebServiceRtOperation
 74    */
 75  0 public WebServiceRtOperation getOperation(String name) {
 76  0 return operations.get(name);
 77    }
 78   
 79    /**
 80    * Get the WSIF-based port implementation.
 81    * @return WSIFPort
 82    */
 83  0 public WSIFPort getPort() {
 84  0 return port;
 85    }
 86   
 87    /**
 88    * Set the WSIF-based port implementation.
 89    * @param port
 90    * The port to set.
 91    */
 92  0 public void setPort(WSIFPort port) {
 93  0 this.port = port;
 94    }
 95   
 96    private String name;
 97   
 98    private WSIFPort port;
 99   
 100    private HashMap<String, WebServiceRtOperation> operations;
 101    }