org.codehaus.xfire.annotations.soap.InitParam Maven / Gradle / Ivy
package org.codehaus.xfire.annotations.soap;
import java.io.Serializable;
/**
* Represents a common implementation of the {@link SOAPMessageHandler} initialization parameter.
*
* @author Arjen Poutsma
*/
public class InitParam implements Serializable
{
private String name;
private String value;
/**
* Initializes a new instance of the InitParam
class.
*
* @param name the name
* @param value the value
*/
public InitParam(String name, String value)
{
this.name = name;
this.value = value;
}
/**
* Returns the name of the initialization parameter.
*
* @return the parameter name.
*/
public String getName()
{
return name;
}
/**
* Sets the name of the initialization parameter.
*
* @param name the parameter name.
*/
public void setName(String name)
{
this.name = name;
}
/**
* Returns the value of the initialization parameter.
*
* @return the parameter value.
*/
public String getValue()
{
return value;
}
/**
* Sets the value of the initialization parameter.
*
* @param value the parameter name.
*/
public void setValue(String value)
{
this.value = value;
}
}