Class ConnectMessagePartObjectImpl

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

public class ConnectMessagePartObjectImpl extends AbstractConnectMessagePart<Serializable>
See Also:
  • Constructor Details

    • ConnectMessagePartObjectImpl

      public ConnectMessagePartObjectImpl()
  • Method Details

    • getType

      Description copied from interface: ConnectMessagePart
      Gets the ConnectMessagePartContentType of this ConnectMessagePart.
      Returns:
      One of the types defined in ConnectMessagePartContentType
    • getSerializedContent

      public byte[] getSerializedContent() throws IOException
      Gets the serialized content as a byte []
      Returns:
      Serialized object as byte []
      Throws:
      IOException - Any exception thrown by the underlying OutputStream
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getStringContent

      public String getStringContent()
      Description copied from interface: ConnectMessagePart
      Gets the String representation of the content of this ConnectMessagePart. Each ConnectMessagePart type implementation will have its own implementation of this method.
      Returns:
      The string implementation of the content
    • setStringContent

      public void setStringContent(String content)
      Description copied from interface: ConnectMessagePart
      Sets this string as the content of this ConnectMessagePart. Each ConnectMessagePart type implementation will convert the String content to the type of this ConnectMessagePart
      Parameters:
      content - The string content to set