Package com.connectplaza.eaf.pojo.impl
Class ConnectMessagePartDocumentImpl
java.lang.Object
com.connectplaza.eaf.pojo.impl.AbstractConnectMessagePart<Document>
com.connectplaza.eaf.pojo.impl.ConnectMessagePartDocumentImpl
- All Implemented Interfaces:
ConnectMessagePart<Document>
,Serializable
- See Also:
-
Field Summary
Fields inherited from class com.connectplaza.eaf.pojo.impl.AbstractConnectMessagePart
cloneContent, id, partNumber, properties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the XML string representation of the Document in the content of the ConnectMessagePart.getType()
Gets the ConnectMessagePartContentType of this ConnectMessagePart.void
setContent
(Document content) Sets the content of this ConnectMessagePart.void
setStringContent
(String xml) Sets the XML string content converted to a Document in the content of the ConnectMessagePart.toString()
Methods inherited from class com.connectplaza.eaf.pojo.impl.AbstractConnectMessagePart
addProperties, addProperty, containsProperty, getPropertyValue, printProperties, setPartNumber, toXML
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.connectplaza.eaf.pojo.interfaces.ConnectMessagePart
getContent, getId, getPartNumber, getProperties, isCloneContent, setCloneContent, setId, setProperties
-
Constructor Details
-
ConnectMessagePartDocumentImpl
public ConnectMessagePartDocumentImpl()
-
-
Method Details
-
getType
Description copied from interface:ConnectMessagePart
Gets the ConnectMessagePartContentType of this ConnectMessagePart.- Returns:
- One of the types defined in
ConnectMessagePartContentType
-
setContent
Description copied from interface:ConnectMessagePart
Sets the content of this ConnectMessagePart. The type of the content should reflect the type of the ConnectMessagePart. Depending on theConnectMessagePart.isCloneContent()
the content will be stored as a reference or as a clone.- Parameters:
content
- the content to store in this ConnectMessagePart
-
setStringContent
Sets the XML string content converted to a Document in the content of the ConnectMessagePart.- Parameters:
xml
- The string content to set
-
getStringContent
Gets the XML string representation of the Document in the content of the ConnectMessagePart.- Returns:
- The string implementation of the content
-
toString
-