Package com.connectplaza.eaf.pojo.impl
Class ConnectMessagePartObjectImpl
java.lang.Object
com.connectplaza.eaf.pojo.impl.AbstractConnectMessagePart<Serializable>
com.connectplaza.eaf.pojo.impl.ConnectMessagePartObjectImpl
- All Implemented Interfaces:
ConnectMessagePart<Serializable>,Serializable
- See Also:
-
Field Summary
Fields inherited from class com.connectplaza.eaf.pojo.impl.AbstractConnectMessagePart
cloneContent, id, partNumber, properties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Gets the serialized content as a byte []Gets the String representation of the content of this ConnectMessagePart.getType()Gets the ConnectMessagePartContentType of this ConnectMessagePart.voidsetStringContent(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, toXMLMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.connectplaza.eaf.pojo.interfaces.ConnectMessagePart
getContent, getId, getPartNumber, getProperties, isCloneContent, setCloneContent, setContent, setId, setProperties
-
Constructor Details
-
ConnectMessagePartObjectImpl
public ConnectMessagePartObjectImpl()
-
-
Method Details
-
getType
Description copied from interface:ConnectMessagePartGets the ConnectMessagePartContentType of this ConnectMessagePart.- Returns:
- One of the types defined in
ConnectMessagePartContentType
-
getSerializedContent
Gets the serialized content as a byte []- Returns:
- Serialized object as byte []
- Throws:
IOException- Any exception thrown by the underlying OutputStream
-
toString
-
getStringContent
Description copied from interface:ConnectMessagePartGets 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:ConnectMessagePartSets 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
-