站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 jaxrpc API Documentation 英文版文档

ParameterDesc (JAXRPC API) - JBoss 4.0.1 sp1 jaxrpc API Documentation 英文版文档


org.apache.axis.description
Class ParameterDesc

java.lang.Object
  extended byorg.apache.axis.description.ParameterDesc
All Implemented Interfaces:
Serializable

public class ParameterDesc
extends Object
implements Serializable

A Parameter descriptor, collecting the interesting info about an operation parameter.

(mostly taken from org.apache.axis.wsdl.toJava.Parameter right now)

Author:
Glen Daniels (gdaniels@apache.org)
See Also:
Serialized Form

Field Summary
static byte IN
           
static byte INOUT
           
static byte OUT
           
 TypeEntry typeEntry
          A TypeEntry corresponding to this parameter
 
Constructor Summary
ParameterDesc()
           
ParameterDesc(ParameterDesc copy)
          Constructor-copy
ParameterDesc(javax.xml.namespace.QName name, byte mode, javax.xml.namespace.QName typeQName)
          Constructor
ParameterDesc(javax.xml.namespace.QName name, byte mode, javax.xml.namespace.QName typeQName, Class javaType)
          Deprecated.  
ParameterDesc(javax.xml.namespace.QName name, byte mode, javax.xml.namespace.QName typeQName, Class javaType, boolean inHeader, boolean outHeader)
          "Complete" constructor, suitable for usage in skeleton code
 
Method Summary
 boolean getIsReturn()
          Indicates ParameterDesc represents return of OperationDesc
 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()
           
 javax.xml.namespace.QName getQName()
           
 javax.xml.namespace.QName getTypeQName()
           
 boolean isInHeader()
           
 boolean isOutHeader()
           
static byte modeFromString(String modeStr)
          Get a mode constant from a string.
 void setInHeader(boolean value)
           
 void setIsReturn(boolean value)
          Set to true to indicate return parameter of OperationDesc
 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 setOrder(int order)
           
 void setOutHeader(boolean value)
           
 void setQName(javax.xml.namespace.QName name)
           
 void setTypeQName(javax.xml.namespace.QName typeQName)
           
 String toString()
           
 String toString(String indent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

IN

public static final byte IN
See Also:
Constant Field Values

OUT

public static final byte OUT
See Also:
Constant Field Values

INOUT

public static final byte INOUT
See Also:
Constant Field Values

typeEntry

public TypeEntry typeEntry
A TypeEntry corresponding to this parameter

Constructor Detail

ParameterDesc

public ParameterDesc()

ParameterDesc

public ParameterDesc(ParameterDesc copy)
Constructor-copy

Parameters:
copy - the copy

ParameterDesc

public ParameterDesc(javax.xml.namespace.QName name,
                     byte mode,
                     javax.xml.namespace.QName typeQName)
Constructor

Parameters:
name - the parameter's fully qualified XML name
mode - IN, OUT, INOUT
typeQName - the parameter's XML type QName

ParameterDesc

public ParameterDesc(javax.xml.namespace.QName name,
                     byte mode,
                     javax.xml.namespace.QName typeQName,
                     Class javaType,
                     boolean inHeader,
                     boolean outHeader)
"Complete" constructor, suitable for usage in skeleton code

Parameters:
name - the parameter's fully qualified XML name
mode - IN, OUT, INOUT
typeQName - the parameter's XML type QName
javaType - the parameter's javaType
inHeader - does this parameter go into the input message header?
outHeader - does this parameter go into the output message header?

ParameterDesc

public ParameterDesc(javax.xml.namespace.QName name,
                     byte mode,
                     javax.xml.namespace.QName typeQName,
                     Class javaType)
Deprecated.  

Parameters:
name - the parameter's fully qualified XML name
mode - IN, OUT, INOUT
typeQName - the parameter's XML type QName
javaType - the parameter's javaType
Method Detail

toString

public String toString()

toString

public String toString(String indent)

modeFromString

public static byte modeFromString(String modeStr)
Get a mode constant from a string. Defaults to IN, and returns OUT or INOUT if the string matches (ignoring case).


getModeAsString

public static String getModeAsString(byte mode)

getQName

public javax.xml.namespace.QName getQName()

getName

public String getName()

setName

public void setName(String name)

setQName

public void setQName(javax.xml.namespace.QName name)

getTypeQName

public javax.xml.namespace.QName getTypeQName()

setTypeQName

public void setTypeQName(javax.xml.namespace.QName typeQName)

getJavaType

public Class getJavaType()
Get the java type (note that this is javaType in the signature.)

Returns:
Class javaType

setJavaType

public void setJavaType(Class javaType)
Set the java type (note that this is javaType in the signature.)


getMode

public byte getMode()

setMode

public void setMode(byte mode)

getOrder

public int getOrder()

setOrder

public void setOrder(int order)

setInHeader

public void setInHeader(boolean value)

isInHeader

public boolean isInHeader()

setOutHeader

public void setOutHeader(boolean value)

isOutHeader

public boolean isOutHeader()

getIsReturn

public boolean getIsReturn()
Indicates ParameterDesc represents return of OperationDesc

Returns:
true if return parameter of OperationDesc

setIsReturn

public void setIsReturn(boolean value)
Set to true to indicate return parameter of OperationDesc

Parameters:
value - boolean that indicates if return parameter of OperationDesc


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.