public class MIMEMultipartRelatedImpl extends java.lang.Object implements MIMEMultipartRelated
Modifier and Type | Field and Description |
---|---|
protected QName |
elementType |
protected java.util.List |
mimeParts |
protected java.lang.Boolean |
required |
static long |
serialVersionUID |
Constructor and Description |
---|
MIMEMultipartRelatedImpl() |
Modifier and Type | Method and 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 ExtensibilityElement
elementType
- the typepublic QName getElementType()
getElementType
in interface ExtensibilityElement
public void setRequired(java.lang.Boolean required)
setRequired
in interface ExtensibilityElement
public java.lang.Boolean getRequired()
getRequired
in interface ExtensibilityElement
public void addMIMEPart(MIMEPart mimePart)
addMIMEPart
in interface MIMEMultipartRelated
mimePart
- the MIME part to be addedpublic MIMEPart removeMIMEPart(MIMEPart mimePart)
removeMIMEPart
in interface MIMEMultipartRelated
mimePart
- the MIME part to be removed.public java.util.List getMIMEParts()
getMIMEParts
in interface MIMEMultipartRelated
public java.lang.String toString()
toString
in class java.lang.Object
Copyright ? 2003, 2013 IBM. All Rights Reserved.