org.apache.axis.description
public class ParameterDesc extends java.lang.Object implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static byte |
IN |
static byte |
INOUT |
static byte |
OUT |
TypeEntry |
typeEntry
A TypeEntry corresponding to this parameter
|
Constructor and Description |
---|
ParameterDesc() |
ParameterDesc(ParameterDesc copy)
Constructor-copy
|
ParameterDesc(QName name,
byte mode,
QName typeQName)
Constructor
|
ParameterDesc(QName name,
byte mode,
QName typeQName,
java.lang.Class javaType)
Deprecated.
|
ParameterDesc(QName name,
byte mode,
QName typeQName,
java.lang.Class javaType,
boolean inHeader,
boolean outHeader)
"Complete" constructor, suitable for usage in skeleton code
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDocumentation()
get the documentation for the parameter
|
boolean |
getIsReturn()
Indicates ParameterDesc represents return of OperationDesc
|
QName |
getItemQName() |
QName |
getItemType() |
java.lang.Class |
getJavaType()
Get the java type (note that this is javaType in the signature.)
|
byte |
getMode() |
static java.lang.String |
getModeAsString(byte mode) |
java.lang.String |
getName() |
int |
getOrder() |
QName |
getQName() |
QName |
getTypeQName() |
boolean |
isInHeader() |
boolean |
isNillable()
Indicates whether this parameter is nillable or not.
|
boolean |
isOmittable()
Indicates if this parameter is omittable or not (i.e., if it
has a minimum occurrence of 0).
|
boolean |
isOutHeader() |
static byte |
modeFromString(java.lang.String modeStr)
Get a mode constant from a string.
|
void |
setDocumentation(java.lang.String documentation)
set the documentation for the parameter
|
void |
setInHeader(boolean value) |
void |
setIsReturn(boolean value)
Set to true to indicate return parameter of OperationDesc
|
void |
setItemQName(QName itemQName) |
void |
setItemType(QName itemType) |
void |
setJavaType(java.lang.Class javaType)
Set the java type (note that this is javaType in the signature.)
|
void |
setMode(byte mode) |
void |
setName(java.lang.String name) |
void |
setNillable(boolean nillable)
Indicate if this parameter is nillable.
|
void |
setOmittable(boolean omittable)
Indicate if this parameter is omittable or not (i.e., if it
has a minimum occurrence of 0).
|
void |
setOrder(int order) |
void |
setOutHeader(boolean value) |
void |
setQName(QName name) |
void |
setTypeQName(QName typeQName) |
java.lang.String |
toString() |
java.lang.String |
toString(java.lang.String indent) |
public static final byte IN
public static final byte OUT
public static final byte INOUT
public TypeEntry typeEntry
public ParameterDesc()
public ParameterDesc(ParameterDesc copy)
copy
- the copypublic ParameterDesc(QName name, byte mode, QName typeQName)
name
- the parameter's fully qualified XML namemode
- IN, OUT, INOUTtypeQName
- the parameter's XML type QNamepublic ParameterDesc(QName name, byte mode, QName typeQName, java.lang.Class javaType, boolean inHeader, boolean outHeader)
name
- the parameter's fully qualified XML namemode
- IN, OUT, INOUTtypeQName
- the parameter's XML type QNamejavaType
- the parameter's javaTypeinHeader
- does this parameter go into the input message header?outHeader
- does this parameter go into the output message header?public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(java.lang.String indent)
public static byte modeFromString(java.lang.String modeStr)
public static java.lang.String getModeAsString(byte mode)
public QName getQName()
public java.lang.String getName()
public void setName(java.lang.String name)
public void setQName(QName name)
public QName getTypeQName()
public void setTypeQName(QName typeQName)
public java.lang.Class getJavaType()
public void setJavaType(java.lang.Class javaType)
public byte getMode()
public void setMode(byte mode)
public int getOrder()
public void setOrder(int order)
public void setInHeader(boolean value)
public boolean isInHeader()
public void setOutHeader(boolean value)
public boolean isOutHeader()
public boolean getIsReturn()
public void setIsReturn(boolean value)
value
- boolean that indicates if return parameter of OperationDescpublic java.lang.String getDocumentation()
public void setDocumentation(java.lang.String documentation)
public QName getItemQName()
public void setItemQName(QName itemQName)
public QName getItemType()
public void setItemType(QName itemType)
public boolean isOmittable()
public void setOmittable(boolean omittable)
omittable
- whether the parameter may be omitted or notpublic boolean isNillable()
public void setNillable(boolean nillable)
nillable
- true iff this parameter is nillableCopyright ? 2005 Apache Web Services Project. All Rights Reserved.