org.apache.axis2.description
Class ParameterImpl

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

public class ParameterImpl
extends java.lang.Object
implements Parameter

Class ParameterImpl


Field Summary
 
Fields inherited from interface org.apache.axis2.description.Parameter
DOM_PARAMETER, TEXT_PARAMETER
 
Constructor Summary
ParameterImpl()
          Constructor ParameterImpl
ParameterImpl(java.lang.String name, java.lang.String value)
          Constructor ParameterImpl
 
Method Summary
 java.lang.String getName()
          Method getName
 OMElement getParameterElement()
          To get the whole paramter element
 int getParameterType()
          Method getParameterType
 java.lang.Object getValue()
          Method getValue
 boolean isLocked()
          Method isLocked
 void setLocked(boolean value)
          Method setLocked
 void setName(java.lang.String name)
          Method setName
 void setParameterElement(OMElement element)
          Paramter can be any thing it can be XML element with number of child elements , so if some one wants to access the XML elemet we need to store that , at the deployment time , to store the XMLelment of the parameter can use this method it will store whole org.apache.axis2.sample.echo.EchoImpl element
 void setParamterType(int type)
           
 void setValue(java.lang.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(java.lang.String name,
                     java.lang.String value)
Constructor ParameterImpl

Parameters:
name -
value -
Method Detail

setName

public void setName(java.lang.String name)
Method setName

Specified by:
setName in interface Parameter
Parameters:
name -

setValue

public void setValue(java.lang.Object value)
Method setValue

Specified by:
setValue in interface Parameter
Parameters:
value -

isLocked

public boolean isLocked()
Method isLocked

Specified by:
isLocked in interface Parameter
Returns:

setLocked

public void setLocked(boolean value)
Method setLocked

Specified by:
setLocked in interface Parameter
Parameters:
value -

getName

public java.lang.String getName()
Method getName

Specified by:
getName in interface Parameter
Returns:

getValue

public java.lang.Object getValue()
Method getValue

Specified by:
getValue in interface Parameter
Returns:

getParameterType

public int getParameterType()
Method getParameterType

Specified by:
getParameterType in interface Parameter
Returns:

setParamterType

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

setParameterElement

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

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

getParameterElement

public OMElement getParameterElement()
Description copied from interface: Parameter
To get the whole paramter element

Specified by:
getParameterElement in interface Parameter
Returns:
OMElement