1 package org.codehaus.xfire.annotations.soap; 2 3 /*** 4 * Represents a common implementation of the {@link SOAPMessageHandler} initialization parameter. 5 * 6 * @author <a href="mailto:poutsma@mac.com">Arjen Poutsma</a> 7 */ 8 public class InitParam 9 { 10 private String name; 11 private String value; 12 13 /*** 14 * Initializes a new instance of the <code>InitParam</code> class. 15 * 16 * @param name the name 17 * @param value the value 18 */ 19 public InitParam(String name, String value) 20 { 21 this.name = name; 22 this.value = value; 23 } 24 25 /*** 26 * Returns the name of the initialization parameter. 27 * 28 * @return the parameter name. 29 */ 30 public String getName() 31 { 32 return name; 33 } 34 35 /*** 36 * Sets the name of the initialization parameter. 37 * 38 * @param name the parameter name. 39 */ 40 public void setName(String name) 41 { 42 this.name = name; 43 } 44 45 /*** 46 * Returns the value of the initialization parameter. 47 * 48 * @return the parameter value. 49 */ 50 51 public String getValue() 52 { 53 return value; 54 } 55 56 /*** 57 * Sets the value of the initialization parameter. 58 * 59 * @param value the parameter name. 60 */ 61 public void setValue(String value) 62 { 63 this.value = value; 64 } 65 66 }