Package com.connectplaza.eaf.pojo.impl
Class ConnectMessagePartFileImpl
java.lang.Object
com.connectplaza.eaf.pojo.impl.AbstractConnectMessagePart<File>
com.connectplaza.eaf.pojo.impl.ConnectMessagePartFileImpl
- All Implemented Interfaces:
ConnectMessagePart<File>
,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 absolute path of the File in the content of this ConnectMessagePart.getType()
Gets the ConnectMessagePartContentType of this ConnectMessagePart.void
setContent
(File content) Sets the content of this ConnectMessagePart.void
setStringContent
(String content) Sets the String content as a new File object in 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, setId, setProperties
-
Constructor Details
-
ConnectMessagePartFileImpl
public ConnectMessagePartFileImpl()
-
-
Method Details
-
getType
Description copied from interface:ConnectMessagePart
Gets the ConnectMessagePartContentType of this ConnectMessagePart.- Returns:
- One of the types defined in
ConnectMessagePartContentType
-
setContent
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 absolute path of the File in the content of this ConnectMessagePart.- Returns:
- The string implementation of the content
-
setStringContent
Sets the String content as a new File object in the content of this ConnectMessagePart.- Parameters:
content
- The string content to set
-