public class Parameter extends Object implements Externalizable, SafeSerializable
Modifier and Type | Field and Description |
---|---|
static int |
ANY_PARAMETER
Field ANY_PARAMETER
|
static int |
OM_PARAMETER
Field OM_PARAMETER
|
static int |
TEXT_PARAMETER
Field TEXT_PARAMETER
|
Constructor and Description |
---|
Parameter()
Constructor.
|
Parameter(String name,
Object value)
Constructor from name and value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getName()
Method getName.
|
org.apache.axiom.om.OMElement |
getParameterElement() |
int |
getParameterType()
Method getParameterType.
|
Object |
getValue()
Method getValue.
|
int |
hashCode() |
boolean |
isLocked()
Method isLocked.
|
boolean |
isTransient() |
void |
readExternal(ObjectInput inObject)
Restore the contents of the object that was previously saved.
|
void |
setEditable(boolean editable) |
void |
setLocked(boolean value)
Method setLocked.
|
void |
setName(String name)
Method setName.
|
void |
setParameterElement(org.apache.axiom.om.OMElement element) |
void |
setParameterType(int type) |
void |
setTransient(boolean _transient) |
void |
setValue(Object value)
Method setValue.
|
String |
toString() |
void |
writeExternal(ObjectOutput o)
Save the contents of this object.
|
public static final int ANY_PARAMETER
public static final int TEXT_PARAMETER
public static final int OM_PARAMETER
public String getName()
public org.apache.axiom.om.OMElement getParameterElement()
public int getParameterType()
public Object getValue()
public boolean isLocked()
public void setLocked(boolean value)
value
- public void setName(String name)
name
- public void setParameterElement(org.apache.axiom.om.OMElement element)
public void setParameterType(int type)
public void setValue(Object value)
value
- public void writeExternal(ObjectOutput o) throws IOException
writeExternal
in interface Externalizable
out
- The stream to write the object contents toIOException
public void readExternal(ObjectInput inObject) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
in
- The stream to read the object contents fromIOException
ClassNotFoundException
public void setEditable(boolean editable)
public boolean isTransient()
public void setTransient(boolean _transient)
Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.