com.ibm.wsdl

Class MessageImpl

public class MessageImpl extends AbstractWSDLElement implements Message

This class describes a message used for communication with an operation.

Author: Paul Fremantle Nirmal Mukhi Matthew J. Duftler

Field Summary
protected ListadditionOrderOfParts
protected booleanisUndefined
protected QNamename
protected ListnativeAttributeNames
protected Mapparts
static longserialVersionUID
Method Summary
voidaddPart(Part part)
Add a part to this message.
ListgetNativeAttributeNames()
Get the list of local attribute names defined for this element in the WSDL specification.
ListgetOrderedParts(List partOrder)
Get an ordered list of parts as specified by the partOrder argument.
PartgetPart(String name)
Get the specified part.
MapgetParts()
Get all the parts defined here.
QNamegetQName()
Get the name of this message.
booleanisUndefined()
PartremovePart(String name)
Remove the specified part.
voidsetQName(QName name)
Set the name of this message.
voidsetUndefined(boolean isUndefined)
StringtoString()

Field Detail

additionOrderOfParts

protected List additionOrderOfParts

isUndefined

protected boolean isUndefined

name

protected QName name

nativeAttributeNames

protected List nativeAttributeNames

parts

protected Map parts

serialVersionUID

public static final long serialVersionUID

Method Detail

addPart

public void addPart(Part part)
Add a part to this message.

Parameters: part the part to be added

getNativeAttributeNames

public List getNativeAttributeNames()
Get the list of local attribute names defined for this element in the WSDL specification.

Returns: a List of Strings, one for each local attribute name

getOrderedParts

public List getOrderedParts(List partOrder)
Get an ordered list of parts as specified by the partOrder argument.

Parameters: partOrder a list of strings, with each string referring to a part by its name. If this argument is null, the parts are returned in the order in which they were added to the message.

Returns: the list of parts

getPart

public Part getPart(String name)
Get the specified part.

Parameters: name the name of the desired part.

Returns: the corresponding part, or null if there wasn't any matching part

getParts

public Map getParts()
Get all the parts defined here.

getQName

public QName getQName()
Get the name of this message.

Returns: the message name

isUndefined

public boolean isUndefined()

removePart

public Part removePart(String name)
Remove the specified part.

Parameters: name the name of the part to be removed.

Returns: the part which was removed

setQName

public void setQName(QName name)
Set the name of this message.

Parameters: name the desired name

setUndefined

public void setUndefined(boolean isUndefined)

toString

public String toString()
Copyright B) 2003,2006 IBM. All Rights Reserved.