Class ConnectMessagePartByteArrayImpl

java.lang.Object
com.connectplaza.eaf.pojo.impl.AbstractConnectMessagePart<byte[]>
com.connectplaza.eaf.pojo.impl.ConnectMessagePartByteArrayImpl
All Implemented Interfaces:
ConnectMessagePart<byte[]>, Serializable

public class ConnectMessagePartByteArrayImpl extends AbstractConnectMessagePart<byte[]>
See Also:
  • Constructor Details

    • ConnectMessagePartByteArrayImpl

      public ConnectMessagePartByteArrayImpl()
  • 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(byte[] 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
    • toString

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

      public String getStringContent()
      Gets the BASE64 String representation of the byte array in this ConnectMessagePart.
      Returns:
      The BASE64 string implementation of the content
    • setStringContent

      public void setStringContent(String content)
      Sets this BASE64 string as the content of the byte array in this ConnectMessagePart.
      Parameters:
      content - The string content to set