com.ibm.wsdl.extensions.mime

Class MIMEContentImpl

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

public class MIMEContentImpl
extends java.lang.Object
implements MIMEContent

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

Field Summary

protected QName
elementType
protected String
part
protected Boolean
required
static long
serialVersionUID
protected String
type

Method Summary

QName
getElementType()
Get the type of this extensibility element.
String
getPart()
Get the part for this MIME content.
Boolean
getRequired()
Get whether or not the semantics of this extension are required.
String
getType()
Get the type for this MIME content.
void
setElementType(QName elementType)
Set the type of this extensibility element.
void
setPart(String part)
Set the part for this MIME content.
void
setRequired(Boolean required)
Set whether or not the semantics of this extension are required.
void
setType(String type)
Set the type for this MIME content.
String
toString()

Field Details

elementType

protected QName elementType


part

protected String part


required

protected Boolean required


serialVersionUID

public static final long serialVersionUID

Field Value:
1L


type

protected String type

Method Details

getElementType

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

Returns:
the extensibility element's type


getPart

public String getPart()
Get the part for this MIME content.
Specified by:
getPart in interface MIMEContent


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


getType

public String getType()
Get the type for this MIME content.
Specified by:
getType in interface MIMEContent


setElementType

public void setElementType(QName elementType)
Set the type of this extensibility element.
Specified by:
setElementType in interface ExtensibilityElement

Parameters:
elementType - the type


setPart

public void setPart(String part)
Set the part for this MIME content.
Specified by:
setPart in interface MIMEContent

Parameters:
part - the desired part


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


setType

public void setType(String type)
Set the type for this MIME content.
Specified by:
setType in interface MIMEContent

Parameters:
type - the desired type


toString

public String toString()


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