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
public class MIMEMultipartRelatedImpl extends java.lang.Object implements MIMEMultipartRelated
- Author:
- Matthew J. Duftler (duftler@us.ibm.com)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected QNameelementTypeprotected java.util.ListmimePartsprotected java.lang.Booleanrequiredstatic longserialVersionUID
-
Constructor Summary
Constructors Constructor Description MIMEMultipartRelatedImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMIMEPart(MIMEPart mimePart)Add a MIME part to this MIME multipart related.QNamegetElementType()Get the type of this extensibility element.java.util.ListgetMIMEParts()Get all the MIME parts defined here.java.lang.BooleangetRequired()Get whether or not the semantics of this extension are required.MIMEPartremoveMIMEPart(MIMEPart mimePart)Remove a MIME part from this MIME multipart related.voidsetElementType(QName elementType)Set the type of this extensibility element.voidsetRequired(java.lang.Boolean required)Set whether or not the semantics of this extension are required.java.lang.StringtoString()
-
-
-
Field Detail
-
elementType
protected QName elementType
-
required
protected java.lang.Boolean required
-
mimeParts
protected java.util.List mimeParts
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
setElementType
public void setElementType(QName elementType)
Set the type of this extensibility element.- Specified by:
setElementTypein interfaceExtensibilityElement- Parameters:
elementType- the type
-
getElementType
public QName getElementType()
Get the type of this extensibility element.- Specified by:
getElementTypein 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:
setRequiredin 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:
getRequiredin interfaceExtensibilityElement
-
addMIMEPart
public void addMIMEPart(MIMEPart mimePart)
Add a MIME part to this MIME multipart related.- Specified by:
addMIMEPartin interfaceMIMEMultipartRelated- Parameters:
mimePart- the MIME part to be added
-
removeMIMEPart
public MIMEPart removeMIMEPart(MIMEPart mimePart)
Remove a MIME part from this MIME multipart related.- Specified by:
removeMIMEPartin 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:
getMIMEPartsin interfaceMIMEMultipartRelated
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-