public abstract class AbstractMessageContainer extends AbstractPropertiesHolder implements NamedItem
addExtensionAttribute, addExtensor, containsExtensor, equals, getDocumentation, getExtensionAttribute, getExtensionAttributes, getExtensor, getExtensors, getExtensors, getProperties, getProperty, getProperty, getTraversedExtensor, hasProperty, removeProperty, setDelegate, setDocumentation, setExtensionAttributes, setProperty
protected QName mName
public String getMessageDocumentation()
public void setMessageDocumentation(String doc)
public OperationInfo getOperation()
public MessagePartInfo addMessagePart(QName name)
name
- the qualified name of the message partMessagePartInfo
objectpublic MessagePartInfo addMessagePart(String name)
public void addMessagePart(MessagePartInfo part)
part
- the message part.public int getMessagePartIndex(MessagePartInfo part)
public MessagePartInfo getMessagePartByIndex(int i)
public void removeMessagePart(QName name)
name
- the qualified message part name.public MessagePartInfo getMessagePart(QName name)
name
- the qualified name.null
if not found.public MessagePartInfo getMessagePart(int n)
n
- the n'th part to retrieve.null
if not found.public MessagePartInfo addOutOfBandMessagePart(QName name)
public List<MessagePartInfo> getMessageParts()
public int getMessagePartsNumber()
public MessagePartInfo getFirstMessagePart()
public List<MessagePartInfo> getOutOfBandParts()
public int size()
Copyright © 2021 JBoss by Red Hat. All rights reserved.