Class MessageImpl
java.lang.Object
com.ibm.wsdl.AbstractWSDLElement
com.ibm.wsdl.MessageImpl
- All Implemented Interfaces:
Serializable, AttributeExtensible, ElementExtensible, Message, WSDLElement
This class describes a message used for communication with an operation.
- Author:
- Paul Fremantle, Nirmal Mukhi, Matthew J. Duftler
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Listprotected booleanprotected QNameprotected Listprotected Mapstatic final longFields inherited from class AbstractWSDLElement
docEl, extElements, extensionAttributesFields inherited from interface AttributeExtensible
LIST_OF_QNAMES_TYPE, LIST_OF_STRINGS_TYPE, NO_DECLARED_TYPE, QNAME_TYPE, STRING_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a part to this message.Get the list of local attribute names defined for this element in the WSDL specification.getOrderedParts(List partOrder) Get an ordered list of parts as specified by the partOrder argument.Get the specified part.getParts()Get all the parts defined here.getQName()Get the name of this message.booleanremovePart(String name) Remove the specified part.voidSet the name of this message.voidsetUndefined(boolean isUndefined) toString()Methods inherited from class AbstractWSDLElement
addExtensibilityElement, getDocumentationElement, getExtensibilityElements, getExtensionAttribute, getExtensionAttributes, removeExtensibilityElement, setDocumentationElement, setExtensionAttributeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface AttributeExtensible
getExtensionAttribute, getExtensionAttributes, setExtensionAttributeMethods inherited from interface ElementExtensible
addExtensibilityElement, getExtensibilityElements, removeExtensibilityElementMethods inherited from interface WSDLElement
getDocumentationElement, setDocumentationElement
-
Field Details
-
parts
-
additionOrderOfParts
-
name
-
nativeAttributeNames
-
isUndefined
protected boolean isUndefined -
serialVersionUID
public static final long serialVersionUID- See Also:
-
-
Constructor Details
-
MessageImpl
public MessageImpl()
-
-
Method Details
-
setQName
-
getQName
-
addPart
-
getPart
-
removePart
Remove the specified part.- Specified by:
removePartin interfaceMessage- Parameters:
name- the name of the part to be removed.- Returns:
- the part which was removed
-
getParts
-
getOrderedParts
Get an ordered list of parts as specified by the partOrder argument.- Specified by:
getOrderedPartsin interfaceMessage- 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
-
setUndefined
public void setUndefined(boolean isUndefined) - Specified by:
setUndefinedin interfaceMessage
-
isUndefined
public boolean isUndefined()- Specified by:
isUndefinedin interfaceMessage
-
toString
- Overrides:
toStringin classAbstractWSDLElement
-
getNativeAttributeNames
Get the list of local attribute names defined for this element in the WSDL specification.- Specified by:
getNativeAttributeNamesin interfaceAttributeExtensible- Returns:
- a List of Strings, one for each local attribute name
-