Package com.connectplaza.eaf.pojo.impl
Class ConnectMessagePartStringImpl
java.lang.Object
com.connectplaza.eaf.pojo.impl.AbstractConnectMessagePart<String>
com.connectplaza.eaf.pojo.impl.ConnectMessagePartStringImpl
- All Implemented Interfaces:
ConnectMessagePart<String>
,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 String representation of the content of this ConnectMessagePart.getType()
Gets the ConnectMessagePartContentType of this ConnectMessagePart.void
setStringContent
(String content) Sets this string as the content of this 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, setContent, setId, setProperties
-
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
-
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
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
-