org.apache.axis2.description
Class ParameterImpl

java.lang.Object
  extended byorg.apache.axis2.description.ParameterImpl
All Implemented Interfaces:
Parameter

public class ParameterImpl
extends Object
implements Parameter

Class ParameterImpl


Field Summary
 
Fields inherited from interface org.apache.axis2.description.Parameter
OM_PARAMETER, TEXT_PARAMETER
 
Constructor Summary
ParameterImpl()
          Constructor ParameterImpl.
ParameterImpl(String name, String value)
          Constructor ParameterImpl.
 
Method Summary
 String getName()
          Method getName.
 OMElement getParameterElement()
          Gets the whole parameter element.
 int getParameterType()
          Method getParameterType.
 Object getValue()
          Method getValue.
 boolean isLocked()
          Method isLocked.
 void setLocked(boolean value)
          Method setLocked.
 void setName(String name)
          Method setName.
 void setParameterElement(OMElement element)
          Parameter can be any thing - it can be XML element with number of child elements.
 void setParameterType(int type)
           
 void setValue(Object value)
          Method setValue.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParameterImpl

public ParameterImpl()
Constructor ParameterImpl.


ParameterImpl

public ParameterImpl(String name,
                     String value)
Constructor ParameterImpl.

Parameters:
name -
value -
Method Detail

getName

public String getName()
Method getName.

Specified by:
getName in interface Parameter
Returns:
Returns String.

getParameterElement

public OMElement getParameterElement()
Description copied from interface: Parameter
Gets the whole parameter element.

Specified by:
getParameterElement in interface Parameter
Returns:
Returns OMElement.

getParameterType

public int getParameterType()
Method getParameterType.

Specified by:
getParameterType in interface Parameter
Returns:
Returns int.

getValue

public Object getValue()
Method getValue.

Specified by:
getValue in interface Parameter
Returns:
Returns Object.

isLocked

public boolean isLocked()
Method isLocked.

Specified by:
isLocked in interface Parameter
Returns:
Returns boolean.

setLocked

public void setLocked(boolean value)
Method setLocked.

Specified by:
setLocked in interface Parameter
Parameters:
value -

setName

public void setName(String name)
Method setName.

Specified by:
setName in interface Parameter
Parameters:
name -

setParameterElement

public void setParameterElement(OMElement element)
Description copied from interface: Parameter
Parameter can be any thing - it can be XML element with number of child elements. So if some one wants to access the XML element we need to store that. At the deployment time , to store the XMLelement of the parameter, use this method to store whole org.apache.axis2.sample.echo.EchoImpl element.

Specified by:
setParameterElement in interface Parameter
Parameters:
element - OMElement

setParameterType

public void setParameterType(int type)
Specified by:
setParameterType in interface Parameter

setValue

public void setValue(Object value)
Method setValue.

Specified by:
setValue in interface Parameter
Parameters:
value -