Class EmailAttachmentModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class EmailAttachmentModel
    extends MediaModel
    Generated model class for type EmailAttachment first defined at extension acceleratorservices.

    Item that represents email attachment. It extends Media type without adding any new attribute.

    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • _EMAILMESSAGE2EMAILATTACHMENTSREL

        public static final java.lang.String _EMAILMESSAGE2EMAILATTACHMENTSREL
        Generated relation code constant for relation EmailMessage2EmailAttachmentsRel defining source attribute message in extension acceleratorservices.
        See Also:
        Constant Field Values
      • MESSAGE

        public static final java.lang.String MESSAGE
        Generated constant - Attribute key of EmailAttachment.message attribute defined at extension acceleratorservices.
        See Also:
        Constant Field Values
    • Constructor Detail

      • EmailAttachmentModel

        public EmailAttachmentModel()
        Generated constructor - Default constructor for generic creation.
      • EmailAttachmentModel

        public EmailAttachmentModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • EmailAttachmentModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public EmailAttachmentModel​(CatalogVersionModel _catalogVersion,
                                    java.lang.String _code)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - Constructor with all mandatory attributes.
        Parameters:
        _catalogVersion - initial attribute declared by type Media at extension catalog
        _code - initial attribute declared by type Media at extension core
      • EmailAttachmentModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public EmailAttachmentModel​(CatalogVersionModel _catalogVersion,
                                    java.lang.String _code,
                                    ItemModel _owner)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _catalogVersion - initial attribute declared by type Media at extension catalog
        _code - initial attribute declared by type Media at extension core
        _owner - initial attribute declared by type Item at extension core
    • Method Detail

      • getMessage

        @Accessor(qualifier="message",
                  type=GETTER)
        public EmailMessageModel getMessage()
        Generated method - Getter of the EmailAttachment.message attribute defined at extension acceleratorservices.
        Returns:
        the message
      • setMessage

        @Accessor(qualifier="message",
                  type=SETTER)
        public void setMessage​(EmailMessageModel value)
        Generated method - Setter of EmailAttachment.message attribute defined at extension acceleratorservices.
        Parameters:
        value - the message