public class BodyPartType extends com.collaxa.cube.xml.BaseFacade implements java.io.Serializable, IBodyPartType
| Constructor and Description |
|---|
BodyPartType() |
BodyPartType(org.w3c.dom.Element domElement) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
__getFacadeName()
Method __getFacadeName
|
java.lang.String |
getBodyPartName()
Returns the value of field 'bodyPartName'.
|
java.lang.Object |
getContentBody()
Returns the value of field 'contentBody'.
|
java.lang.String |
getContentEncoding()
Returns the value of field 'contentEncoding'.
|
java.lang.String |
getContentId()
Returns the value of field 'contentId'.
|
java.lang.String |
getDisposition()
Returns the value of field 'disposition'.
|
java.io.InputStream |
getInputStream(IEmailPayloadType emailPayload)
Returns the value of field 'contentBody' as input stream.
|
java.lang.String |
getMimeType()
Returns the value of field 'mimeType'.
|
boolean |
isAttachmentContentEnclosed()
Returns the value of field 'AttachmentContentEnclosed'.
|
void |
setAttachmentContentEnclosed(boolean attachmentContentEnclosed)
Sets the value of field 'AttachmentContentEnclosed'.
|
void |
setBodyPartName(java.lang.String bodyPartName)
Sets the value of field 'bodyPartName'.
|
void |
setContentBody(java.lang.Object contentBody)
Sets the value of field 'contentBody'.
|
void |
setContentEncoding(java.lang.String contentEncoding)
Sets the value of field 'contentEncoding'.
|
void |
setContentId(java.lang.String contentId)
Sets the value of field 'contentId'.
|
void |
setDisposition(java.lang.String disposition)
Sets the value of field 'disposition'.
|
void |
setInputStream(java.io.InputStream inputStream,
IEmailPayloadType emailPayload)
Sets the value of field 'contentBody' as input stream.
|
void |
setMimeType(java.lang.String mimeType)
Sets the value of field 'mimeType'.
|
_setChildElementValue, addChildElement, addChildElement, clearChildElements, containsChildElement, getAttributeValue, getChildElement, getChildElement, getChildElements, getChildElementValue, getChildElementValue, getElementName, getNamespaceUri, getQName, getRootElement, getSimpleContent, isRootElement, isRootElement, numberOfChildElements, parseQName, removeChildElement, removeChildElement, setAttributeValue, setAttributeValue, setAttributeValue, setAttributeValue, setAttributeValue, setAttributeValue, setAttributeValue, setAttributeValue, setAttributeValue, setChildElement, setChildElementValue, setChildElementValue, setChildElementValue, setChildElementValue, setChildElementValue, setChildElementValue, setChildElementValue, setChildElementValue, setChildElementValue, setChildElementValue, setChildElementValue, setChildElementValue, setChildElementValue, setChildElementValue, setChildElementValue, setChildElementValue, setChildElementValue, setChildElementValue, setChildElementValue, setChildElementValue, setRootElement, setSimpleContent, setSimpleContent, setSimpleContent, setSimpleContent, setSimpleContent, setSimpleContent, setSimpleContent, setSimpleContent, setSimpleContent, toDOM, toString, toXML, toXMLpublic BodyPartType()
public BodyPartType(org.w3c.dom.Element domElement)
public java.lang.String __getFacadeName()
__getFacadeName in interface org.collaxa.xml.IBaseFacade__getFacadeName in class com.collaxa.cube.xml.BaseFacadepublic java.lang.String getBodyPartName()
getBodyPartName in interface IBodyPartTypepublic java.lang.Object getContentBody()
getContentBody in interface IBodyPartTypepublic java.lang.String getMimeType()
getMimeType in interface IBodyPartTypepublic java.lang.String getContentEncoding()
getContentEncoding in interface IBodyPartTypepublic java.lang.String getDisposition()
getDisposition in interface IBodyPartTypepublic java.lang.String getContentId()
getContentId in interface IBodyPartTypepublic boolean isAttachmentContentEnclosed()
isAttachmentContentEnclosed in interface IBodyPartTypepublic void setBodyPartName(java.lang.String bodyPartName)
setBodyPartName in interface IBodyPartTypebodyPartName - the value of field 'bodyPartName'.public void setContentBody(java.lang.Object contentBody)
setContentBody in interface IBodyPartTypecontentBody - the value of field 'contentBody'.public void setMimeType(java.lang.String mimeType)
setMimeType in interface IBodyPartTypemimeType - the value of field 'mimeType'.public void setContentEncoding(java.lang.String contentEncoding)
setContentEncoding in interface IBodyPartTypecontentEncoding - the value of field 'contentEncoding'.public void setDisposition(java.lang.String disposition)
setDisposition in interface IBodyPartTypedisposition - the value of field 'disposition'.public void setContentId(java.lang.String contentId)
setContentId in interface IBodyPartTypecontentId - the value of field 'contentId'.public void setAttachmentContentEnclosed(boolean attachmentContentEnclosed)
setAttachmentContentEnclosed in interface IBodyPartTypeattachmentContentEnclosed - the value of field 'attachmentContentEnclosed'.public void setInputStream(java.io.InputStream inputStream,
IEmailPayloadType emailPayload)
setInputStream in interface IBodyPartTypeinputStream - the value of field 'contentBody'.emailPayload - The emailPayload that this body part belongs topublic java.io.InputStream getInputStream(IEmailPayloadType emailPayload)
getInputStream in interface IBodyPartTypeemailPayload - The emailPayload that this body part belongs to