com.ibm.wsdl.extensions.mime

Class MIMEPartImpl

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

public class MIMEPartImpl
extends java.lang.Object
implements MIMEPart

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

Field Summary

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

Method Summary

void
addExtensibilityElement(ExtensibilityElement extElement)
Add an extensibility element.
QName
getElementType()
Get the type of this extensibility element.
List
getExtensibilityElements()
Get all the extensibility elements defined here.
Boolean
getRequired()
Get whether or not the semantics of this extension are required.
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


extElements

protected List extElements


required

protected Boolean required


serialVersionUID

public static final long serialVersionUID

Field Value:
1L

Method Details

addExtensibilityElement

public void addExtensibilityElement(ExtensibilityElement extElement)
Add an extensibility element. This is where the MIME elements go.
Specified by:
addExtensibilityElement in interface MIMEPart

Parameters:
extElement - the extensibility element 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


getExtensibilityElements

public List getExtensibilityElements()
Get all the extensibility elements defined here.
Specified by:
getExtensibilityElements in interface MIMEPart


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


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,2005 IBM. All Rights Reserved.