Class ConnectMessagePartStringImpl

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

public class ConnectMessagePartStringImpl extends AbstractConnectMessagePart<String>
See Also:
  • Constructor Details

    • ConnectMessagePartStringImpl

      public ConnectMessagePartStringImpl()
  • Method Details

    • getType

      Description copied from interface: ConnectMessagePart
      Gets the ConnectMessagePartContentType of this ConnectMessagePart.
      Returns:
      One of the types defined in ConnectMessagePartContentType
    • 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