Package com.ibm.wsdl.extensions.mime
Class MIMEMultipartRelatedImpl
java.lang.Object
com.ibm.wsdl.extensions.mime.MIMEMultipartRelatedImpl
- All Implemented Interfaces:
java.io.Serializable
,ExtensibilityElement
,MIMEMultipartRelated
- Author:
- Matthew J. Duftler (duftler@us.ibm.com)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected QName
protected java.util.List
protected java.lang.Boolean
static final long
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMIMEPart
(MIMEPart mimePart) Add a MIME part to this MIME multipart related.Get the type of this extensibility element.java.util.List
Get all the MIME parts defined here.java.lang.Boolean
Get whether or not the semantics of this extension are required.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
(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 Details
-
elementType
-
required
protected java.lang.Boolean required -
mimeParts
protected java.util.List mimeParts -
serialVersionUID
public static final long serialVersionUID- See Also:
-
-
Constructor Details
-
MIMEMultipartRelatedImpl
public MIMEMultipartRelatedImpl()
-
-
Method Details
-
setElementType
Set the type of this extensibility element.- Specified by:
setElementType
in interfaceExtensibilityElement
- Parameters:
elementType
- the type
-
getElementType
Get the type of this extensibility element.- Specified by:
getElementType
in interfaceExtensibilityElement
- 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 interfaceExtensibilityElement
-
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 interfaceExtensibilityElement
-
addMIMEPart
Add a MIME part to this MIME multipart related.- Specified by:
addMIMEPart
in interfaceMIMEMultipartRelated
- Parameters:
mimePart
- the MIME part to be added
-
removeMIMEPart
Remove a MIME part from this MIME multipart related.- Specified by:
removeMIMEPart
in interfaceMIMEMultipartRelated
- Parameters:
mimePart
- the MIME part to be removed.- Returns:
- the MIME part which was removed.
-
getMIMEParts
public java.util.List getMIMEParts()Get all the MIME parts defined here.- Specified by:
getMIMEParts
in interfaceMIMEMultipartRelated
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-