com.ibm.wsdl.extensions.mime

Class MIMEMultipartRelatedImpl

Implemented Interfaces:
ExtensibilityElement, MIMEMultipartRelated, java.io.Serializable

public class MIMEMultipartRelatedImpl
extends java.lang.Object
implements MIMEMultipartRelated

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

Field Summary

protected QName
elementType
protected List
mimeParts
protected Boolean
required
static long
serialVersionUID

Method Summary

void
addMIMEPart(MIMEPart mimePart)
Add a MIME part to this MIME multipart related.
QName
getElementType()
Get the type of this extensibility element.
List
getMIMEParts()
Get all the MIME parts defined here.
Boolean
getRequired()
Get whether or not the semantics of this extension are required.
MIMEPart
removeMIMEPart(MIMEPart mimePart)
Remove a MIME part from this MIME multipart related.
void
setElementType(QName elementType)
Set the type of this extensibility element.
void
setRequired(Boolean required)
Set whether or not the semantics of this extension are required.
String
toString()

Field Details

elementType

protected QName elementType

mimeParts

protected List mimeParts

required

protected Boolean required

serialVersionUID

public static final long serialVersionUID
Field Value:
1L

Method Details

addMIMEPart

public void addMIMEPart(MIMEPart mimePart)
Add a MIME part to this MIME multipart related.
Specified by:
addMIMEPart in interface MIMEMultipartRelated
Parameters:
mimePart - the MIME part to be added

getElementType

public QName getElementType()
Get the type of this extensibility element.
Specified by:
getElementType in interface ExtensibilityElement
Returns:
the extensibility element's type

getMIMEParts

public List getMIMEParts()
Get all the MIME parts defined here.
Specified by:
getMIMEParts in interface MIMEMultipartRelated

getRequired

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

removeMIMEPart

public MIMEPart removeMIMEPart(MIMEPart mimePart)
Remove a MIME part from this MIME multipart related.
Specified by:
removeMIMEPart in interface MIMEMultipartRelated
Parameters:
mimePart - the MIME part to be removed.
Returns:
the MIME part which was removed.

setElementType

public void setElementType(QName elementType)
Set the type of this extensibility element.
Specified by:
setElementType in interface ExtensibilityElement
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.
Specified by:
setRequired in interface ExtensibilityElement

toString

public String toString()

Copyright B) 2003,2006 IBM. All Rights Reserved.