Class EmailAttachmentModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
All Implemented Interfaces:
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:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • _EMAILMESSAGE2EMAILATTACHMENTSREL

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

      public static final String MESSAGE
      Generated constant - Attribute key of EmailAttachment.message attribute defined at extension acceleratorservices.
      See Also:
  • Constructor Details

    • EmailAttachmentModel

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

      public EmailAttachmentModel(de.hybris.platform.servicelayer.model.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, 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, 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 Details

    • 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