Package org.apache.axis2.description
Class Parameter
- java.lang.Object
-
- org.apache.axis2.description.Parameter
-
- All Implemented Interfaces:
Externalizable,Serializable,SafeSerializable
public class Parameter extends Object implements Externalizable, SafeSerializable
Class Parameter- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intANY_PARAMETERField ANY_PARAMETERstatic intOM_PARAMETERField OM_PARAMETERstatic intTEXT_PARAMETERField TEXT_PARAMETER
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetName()Method getName.OMElementgetParameterElement()intgetParameterType()Method getParameterType.ObjectgetValue()Method getValue.inthashCode()booleanisLocked()Method isLocked.booleanisTransient()voidreadExternal(ObjectInput inObject)Restore the contents of the object that was previously saved.voidsetEditable(boolean editable)voidsetLocked(boolean value)Method setLocked.voidsetName(String name)Method setName.voidsetParameterElement(OMElement element)voidsetParameterType(int type)voidsetTransient(boolean _transient)voidsetValue(Object value)Method setValue.StringtoString()voidwriteExternal(ObjectOutput o)Save the contents of this object.
-
-
-
Field Detail
-
ANY_PARAMETER
public static final int ANY_PARAMETER
Field ANY_PARAMETER- See Also:
- Constant Field Values
-
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 String.
-
getParameterElement
public OMElement getParameterElement()
-
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)
-
setParameterType
public void setParameterType(int type)
-
setValue
public void setValue(Object value)
Method setValue.- Parameters:
value-
-
writeExternal
public void writeExternal(ObjectOutput o) throws IOException
Save the contents of this object. NOTE: Transient fields and static fields are not saved. Also, objects that represent "static" data are not saved, except for enough information to be able to find matching objects when the message context is re-constituted.- Specified by:
writeExternalin interfaceExternalizable- Parameters:
out- The stream to write the object contents to- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput inObject) throws IOException, ClassNotFoundException
Restore the contents of the object that was previously saved. NOTE: The field data must read back in the same order and type as it was written. Some data will need to be validated when resurrected.- Specified by:
readExternalin interfaceExternalizable- Parameters:
in- The stream to read the object contents from- Throws:
IOExceptionClassNotFoundException
-
setEditable
public void setEditable(boolean editable)
-
isTransient
public boolean isTransient()
-
setTransient
public void setTransient(boolean _transient)
-
-