com.ibm.wsdl.extensions.mime

Class MIMEPartImpl

public class MIMEPartImpl extends Object implements MIMEPart

Author: Matthew J. Duftler (duftler@us.ibm.com)

Field Summary
protected QNameelementType
protected ListextElements
protected Booleanrequired
static longserialVersionUID
Method Summary
voidaddExtensibilityElement(ExtensibilityElement extElement)
Add an extensibility element.
QNamegetElementType()
Get the type of this extensibility element.
ListgetExtensibilityElements()
Get all the extensibility elements defined here.
BooleangetRequired()
Get whether or not the semantics of this extension are required.
voidsetElementType(QName elementType)
Set the type of this extensibility element.
voidsetRequired(Boolean required)
Set whether or not the semantics of this extension are required.
StringtoString()

Field Detail

elementType

protected QName elementType

extElements

protected List extElements

required

protected Boolean required

serialVersionUID

public static final long serialVersionUID

Method Detail

addExtensibilityElement

public void addExtensibilityElement(ExtensibilityElement extElement)
Add an extensibility element. This is where the MIME elements go.

Parameters: extElement the extensibility element to be added

getElementType

public QName getElementType()
Get the type of this extensibility element.

Returns: the extensibility element's type

getExtensibilityElements

public List getExtensibilityElements()
Get all the extensibility elements defined here.

getRequired

public Boolean getRequired()
Get whether or not the semantics of this extension are required. Relates to the wsdl:required attribute.

setElementType

public void setElementType(QName elementType)
Set the type of this extensibility element.

Parameters: elementType the type

setRequired

public void setRequired(Boolean required)
Set whether or not the semantics of this extension are required. Relates to the wsdl:required attribute.

toString

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