Class ConnectMessagePartDocumentImpl

java.lang.Object
com.connectplaza.eaf.pojo.impl.AbstractConnectMessagePart<Document>
com.connectplaza.eaf.pojo.impl.ConnectMessagePartDocumentImpl
All Implemented Interfaces:
ConnectMessagePart<Document>, Serializable

public class ConnectMessagePartDocumentImpl extends AbstractConnectMessagePart<Document>
See Also:
  • 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

      public void setContent(Document content)
      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 the ConnectMessagePart.isCloneContent() the content will be stored as a reference or as a clone.
      Parameters:
      content - the content to store in this ConnectMessagePart
    • setStringContent

      public void setStringContent(String xml)
      Sets the XML string content converted to a Document in the content of the ConnectMessagePart.
      Parameters:
      xml - The string content to set
    • getStringContent

      public String getStringContent()
      Gets the XML string representation of the Document in the content of the ConnectMessagePart.
      Returns:
      The string implementation of the content
    • toString

      public String toString()
      Overrides:
      toString in class Object