Package org.apache.axis2.description
Class Parameter
java.lang.Object
org.apache.axis2.description.Parameter
- All Implemented Interfaces:
Externalizable,Serializable,SafeSerializable
Class Parameter
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intField ANY_PARAMETERstatic final intField OM_PARAMETERstatic final intField TEXT_PARAMETER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetName()Method getName.org.apache.axiom.om.OMElementintMethod getParameterType.getValue()Method getValue.inthashCode()booleanisLocked()Method isLocked.booleanvoidreadExternal(ObjectInput inObject) Restore the contents of the object that was previously saved.voidsetEditable(boolean editable) voidsetLocked(boolean value) Method setLocked.voidMethod setName.voidsetParameterElement(org.apache.axiom.om.OMElement element) voidsetParameterType(int type) voidsetTransient(boolean _transient) voidMethod setValue.toString()voidSave the contents of this object.
-
Field Details
-
ANY_PARAMETER
public static final int ANY_PARAMETERField ANY_PARAMETER- See Also:
-
TEXT_PARAMETER
public static final int TEXT_PARAMETERField TEXT_PARAMETER- See Also:
-
OM_PARAMETER
public static final int OM_PARAMETERField OM_PARAMETER- See Also:
-
-
Constructor Details
-
Parameter
public Parameter()Constructor. -
Parameter
Constructor from name and value.- Parameters:
name-value-
-
-
Method Details
-
getName
Method getName.- Returns:
- Returns String.
-
getParameterElement
public org.apache.axiom.om.OMElement getParameterElement() -
getParameterType
public int getParameterType()Method getParameterType.- Returns:
- Returns int.
-
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
Method setName.- Parameters:
name-
-
setParameterElement
public void setParameterElement(org.apache.axiom.om.OMElement element) -
setParameterType
public void setParameterType(int type) -
setValue
Method setValue.- Parameters:
value-
-
toString
-
equals
-
hashCode
public int hashCode() -
writeExternal
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
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)
-