java.io.Serializable, ExtensibilityElement, MIMEMultipartRelatedpublic class MIMEMultipartRelatedImpl extends java.lang.Object implements MIMEMultipartRelated
| Modifier and Type | Field | Description |
|---|---|---|
protected QName |
elementType |
|
protected java.util.List |
mimeParts |
|
protected java.lang.Boolean |
required |
|
static long |
serialVersionUID |
| Constructor | Description |
|---|---|
MIMEMultipartRelatedImpl() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addMIMEPart(MIMEPart mimePart) |
Add a MIME part to this MIME multipart related.
|
QName |
getElementType() |
Get the type of this extensibility element.
|
java.util.List |
getMIMEParts() |
Get all the MIME parts defined here.
|
java.lang.Boolean |
getRequired() |
Get whether or not the semantics of this extension
are required.
|
MIMEPart |
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() |
protected QName elementType
protected java.lang.Boolean required
protected java.util.List mimeParts
public static final long serialVersionUID
public void setElementType(QName elementType)
setElementType in interface ExtensibilityElementelementType - the typepublic QName getElementType()
getElementType in interface ExtensibilityElementpublic void setRequired(java.lang.Boolean required)
setRequired in interface ExtensibilityElementpublic java.lang.Boolean getRequired()
getRequired in interface ExtensibilityElementpublic void addMIMEPart(MIMEPart mimePart)
addMIMEPart in interface MIMEMultipartRelatedmimePart - the MIME part to be addedpublic MIMEPart removeMIMEPart(MIMEPart mimePart)
removeMIMEPart in interface MIMEMultipartRelatedmimePart - the MIME part to be removed.public java.util.List getMIMEParts()
getMIMEParts in interface MIMEMultipartRelatedpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright ? 2003, 2013 IBM. All Rights Reserved.