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 SummaryFields inherited from class com.connectplaza.eaf.pojo.impl.AbstractConnectMessagePartcloneContent, id, partNumber, properties
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGets the BASE64 String representation of the byte array in this ConnectMessagePart.getType()Gets the ConnectMessagePartContentType of this ConnectMessagePart.voidsetContent(byte[] content) Sets the content of this ConnectMessagePart.voidsetStringContent(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.AbstractConnectMessagePartaddProperties, addProperty, containsProperty, getPropertyValue, printProperties, setPartNumber, toXMLMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.connectplaza.eaf.pojo.interfaces.ConnectMessagePartgetContent, getId, getPartNumber, getProperties, isCloneContent, setCloneContent, setId, setProperties
- 
Constructor Details- 
ConnectMessagePartByteArrayImplpublic ConnectMessagePartByteArrayImpl()
 
- 
- 
Method Details- 
getTypeDescription copied from interface:ConnectMessagePartGets the ConnectMessagePartContentType of this ConnectMessagePart.- Returns:
- One of the types defined in ConnectMessagePartContentType
 
- 
setContentpublic void setContent(byte[] content) Description copied from interface:ConnectMessagePartSets 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
- 
getStringContentGets the BASE64 String representation of the byte array in this ConnectMessagePart.- Returns:
- The BASE64 string implementation of the content
 
- 
setStringContentSets this BASE64 string as the content of the byte array in this ConnectMessagePart.- Parameters:
- content- The string content to set
 
 
-