com.ibm.wsdl.extensions.mime
Class MIMEPartImpl

java.lang.Object
  extended bycom.ibm.wsdl.extensions.mime.MIMEPartImpl
All Implemented Interfaces:
ExtensibilityElement, MIMEPart, java.io.Serializable

public class MIMEPartImpl
extends java.lang.Object
implements MIMEPart

Author:
Matthew J. Duftler (duftler@us.ibm.com)
See Also:
Serialized Form

Field Summary
protected  QName elementType
           
protected  java.util.List extElements
           
protected  java.lang.Boolean required
           
static long serialVersionUID
           
 
Constructor Summary
MIMEPartImpl()
           
 
Method Summary
 void addExtensibilityElement(ExtensibilityElement extElement)
          Add an extensibility element.
 QName getElementType()
          Get the type of this extensibility element.
 java.util.List getExtensibilityElements()
          Get all the extensibility elements defined here.
 java.lang.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(java.lang.Boolean required)
          Set whether or not the semantics of this extension are required.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

elementType

protected QName elementType

required

protected java.lang.Boolean required

extElements

protected java.util.List extElements

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

MIMEPartImpl

public MIMEPartImpl()
Method Detail

setElementType

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

Specified by:
setElementType in interface ExtensibilityElement
Parameters:
elementType - the type

getElementType

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

Specified by:
getElementType in interface ExtensibilityElement
Returns:
the extensibility element's type

setRequired

public void setRequired(java.lang.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

getRequired

public java.lang.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

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

getExtensibilityElements

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

Specified by:
getExtensibilityElements in interface MIMEPart

toString

public java.lang.String toString()


Copyright ? 2003 IBM. All Rights Reserved.