public class ParameterDesc extends Object implements 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,
Class javaType)
Deprecated.
|
ParameterDesc(QName name,
byte mode,
QName typeQName,
Class javaType,
boolean inHeader,
boolean outHeader)
"Complete" constructor, suitable for usage in skeleton code
|
Modifier and Type | Method and Description |
---|---|
String |
getDocumentation()
get the documentation for the parameter
|
boolean |
getIsReturn()
Indicates ParameterDesc represents return of OperationDesc
|
QName |
getItemQName() |
QName |
getItemType() |
Class |
getJavaType()
Get the java type (note that this is javaType in the signature.)
|
byte |
getMode() |
static String |
getModeAsString(byte mode) |
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(String modeStr)
Get a mode constant from a string.
|
void |
setDocumentation(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(Class javaType)
Set the java type (note that this is javaType in the signature.)
|
void |
setMode(byte mode) |
void |
setName(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) |
String |
toString() |
String |
toString(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, 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 static byte modeFromString(String modeStr)
public static String getModeAsString(byte mode)
public QName getQName()
public String getName()
public void setName(String name)
public void setQName(QName name)
public QName getTypeQName()
public void setTypeQName(QName typeQName)
public Class getJavaType()
public void setJavaType(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 String getDocumentation()
public void setDocumentation(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 © The Apache Software Foundation. All Rights Reserved.