MessageObjectAttachmentEntity

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.email.IMessageObjectPropertyContainer

public final class MessageObjectAttachmentEntity implements IMessageObjectPropertyContainer

Represents an attachment entity.

Constructors

ConstructorDescription
MessageObjectAttachmentEntity()Initializes a new instance of the MessageObjectAttachmentEntity class.

Methods

MethodDescription
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:

ParameterTypeDescription
arg0java.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:

ParameterTypeDescription
valueCustomAttachmentStorage

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:

ParameterTypeDescription
valueMessageObject

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int