MessageObjectAttachmentEntity
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.email.IMessageObjectPropertyContainer
public final class MessageObjectAttachmentEntity implements IMessageObjectPropertyContainer
Represents an attachment entity.
Constructors
Constructor | Description |
---|---|
MessageObjectAttachmentEntity() | Initializes a new instance of the MessageObjectAttachmentEntity class. |
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getClass() | |
getCustomAttachmentStorageData() | Gets or sets the custom attachment storage data.Can be null. |
getEmbeddedMessage() | Gets or sets the Embedded Message Object storage if present.Can be null. |
getProperties() | Gets the attachment properties. |
hashCode() | |
notify() | |
notifyAll() | |
setCustomAttachmentStorageData(CustomAttachmentStorage value) | Gets or sets the custom attachment storage data.Can be null. |
setEmbeddedMessage(MessageObject value) | Gets or sets the Embedded Message Object storage if present.Can be null. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
MessageObjectAttachmentEntity()
public MessageObjectAttachmentEntity()
Initializes a new instance of the MessageObjectAttachmentEntity class.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getCustomAttachmentStorageData()
public final CustomAttachmentStorage getCustomAttachmentStorageData()
Gets or sets the custom attachment storage data.Can be null.
Value: The custom attachment storage data.
Mutually exclusive with MessageObjectAttachmentEntity.EmbeddedMessage (#getEmbeddedMessage.getEmbeddedMessage/#setEmbeddedMessage(MessageObject).setEmbeddedMessage(MessageObject)) or both can be null.
Returns: CustomAttachmentStorage
getEmbeddedMessage()
public final MessageObject getEmbeddedMessage()
Gets or sets the Embedded Message Object storage if present.Can be null.
Value: The embedded message.
Mutually exclusive with MessageObjectAttachmentEntity.CustomAttachmentStorageData (#getCustomAttachmentStorageData.getCustomAttachmentStorageData/#setCustomAttachmentStorageData(CustomAttachmentStorage).setCustomAttachmentStorageData(CustomAttachmentStorage)) or both can be null.
Returns: MessageObject
getProperties()
public final MessageObjectPropertiesCollection getProperties()
Gets the attachment properties.
Value: The properties collection.
Returns: MessageObjectPropertiesCollection
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setCustomAttachmentStorageData(CustomAttachmentStorage value)
public final void setCustomAttachmentStorageData(CustomAttachmentStorage value)
Gets or sets the custom attachment storage data.Can be null.
Value: The custom attachment storage data.
Mutually exclusive with MessageObjectAttachmentEntity.EmbeddedMessage (#getEmbeddedMessage.getEmbeddedMessage/#setEmbeddedMessage(MessageObject).setEmbeddedMessage(MessageObject)) or both can be null.
Parameters:
Parameter | Type | Description |
---|---|---|
value | CustomAttachmentStorage |
setEmbeddedMessage(MessageObject value)
public final void setEmbeddedMessage(MessageObject value)
Gets or sets the Embedded Message Object storage if present.Can be null.
Value: The embedded message.
Mutually exclusive with MessageObjectAttachmentEntity.CustomAttachmentStorageData (#getCustomAttachmentStorageData.getCustomAttachmentStorageData/#setCustomAttachmentStorageData(CustomAttachmentStorage).setCustomAttachmentStorageData(CustomAttachmentStorage)) or both can be null.
Parameters:
Parameter | Type | Description |
---|---|---|
value | MessageObject |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |