org.apache.axis2.description
Interface Parameter

All Known Implementing Classes:
ParameterImpl

public interface Parameter

Interface Parameter


Field Summary
static int OM_PARAMETER
          Field OM_PARAMETER
static int TEXT_PARAMETER
          Field TEXT_PARAMETER
 
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.
 

Field Detail

TEXT_PARAMETER

public static final int TEXT_PARAMETER
Field TEXT_PARAMETER

See Also:
Constant Field Values

OM_PARAMETER

public static final int OM_PARAMETER
Field OM_PARAMETER

See Also:
Constant Field Values
Method Detail

getName

public String getName()
Method getName.

Returns:
Returns int.

getParameterElement

public OMElement getParameterElement()
Gets the whole parameter element.

Returns:
Returns OMElement.

getParameterType

public int getParameterType()
Method getParameterType.

Returns:
Returns int.

getValue

public Object getValue()
Method getValue.

Returns:
Returns Object.

isLocked

public boolean isLocked()
Method isLocked.

Returns:
Returns boolean.

setLocked

public void setLocked(boolean value)
Method setLocked.

Parameters:
value -

setName

public void setName(String name)
Method setName.

Parameters:
name -

setParameterElement

public void setParameterElement(OMElement element)
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.

Parameters:
element - OMElement

setParameterType

public void setParameterType(int type)

setValue

public void setValue(Object value)
Method setValue.

Parameters:
value -