Package com.connectplaza.eaf.pojo.impl
Class ConnectMessagePartByteArrayImpl
java.lang.Object
com.connectplaza.eaf.pojo.impl.AbstractConnectMessagePart<byte[]>
com.connectplaza.eaf.pojo.impl.ConnectMessagePartByteArrayImpl
- All Implemented Interfaces:
ConnectMessagePart<byte[]>
,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 BASE64 String representation of the byte array in this ConnectMessagePart.getType()
Gets the ConnectMessagePartContentType of this ConnectMessagePart.void
setContent
(byte[] content) Sets the content of this ConnectMessagePart.void
setStringContent
(String content) Sets this BASE64 string as the content of the byte array in 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, setId, setProperties
-
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 theConnectMessagePart.isCloneContent()
the content will be stored as a reference or as a clone.- Parameters:
content
- the content to store in this ConnectMessagePart
-
toString
-
getStringContent
Gets the BASE64 String representation of the byte array in this ConnectMessagePart.- Returns:
- The BASE64 string implementation of the content
-
setStringContent
Sets this BASE64 string as the content of the byte array in this ConnectMessagePart.- Parameters:
content
- The string content to set
-