Class SiteMessageForCustomerModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class SiteMessageForCustomerModel
    extends ItemModel
    Generated model class for type SiteMessageForCustomer first defined at extension notificationservices.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String MESSAGE
        Generated constant - Attribute key of SiteMessageForCustomer.message attribute defined at extension notificationservices.
        See Also:
        Constant Field Values
      • CUSTOMER

        public static final java.lang.String CUSTOMER
        Generated constant - Attribute key of SiteMessageForCustomer.customer attribute defined at extension notificationservices.
        See Also:
        Constant Field Values
      • SENTDATE

        public static final java.lang.String SENTDATE
        Generated constant - Attribute key of SiteMessageForCustomer.sentDate attribute defined at extension notificationservices.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SiteMessageForCustomerModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public SiteMessageForCustomerModel​(CustomerModel _customer,
                                           SiteMessageModel _message,
                                           java.util.Date _sentDate)
        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:
        _customer - initial attribute declared by type SiteMessageForCustomer at extension notificationservices
        _message - initial attribute declared by type SiteMessageForCustomer at extension notificationservices
        _sentDate - initial attribute declared by type SiteMessageForCustomer at extension notificationservices
      • SiteMessageForCustomerModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public SiteMessageForCustomerModel​(CustomerModel _customer,
                                           SiteMessageModel _message,
                                           ItemModel _owner,
                                           java.util.Date _sentDate)
        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:
        _customer - initial attribute declared by type SiteMessageForCustomer at extension notificationservices
        _message - initial attribute declared by type SiteMessageForCustomer at extension notificationservices
        _owner - initial attribute declared by type Item at extension core
        _sentDate - initial attribute declared by type SiteMessageForCustomer at extension notificationservices
    • Method Detail

      • getCustomer

        @Accessor(qualifier="customer",
                  type=GETTER)
        public CustomerModel getCustomer()
        Generated method - Getter of the SiteMessageForCustomer.customer attribute defined at extension notificationservices.
        Returns:
        the customer
      • getMessage

        @Accessor(qualifier="message",
                  type=GETTER)
        public SiteMessageModel getMessage()
        Generated method - Getter of the SiteMessageForCustomer.message attribute defined at extension notificationservices.
        Returns:
        the message
      • getSentDate

        @Accessor(qualifier="sentDate",
                  type=GETTER)
        public java.util.Date getSentDate()
        Generated method - Getter of the SiteMessageForCustomer.sentDate attribute defined at extension notificationservices.
        Returns:
        the sentDate
      • setCustomer

        @Accessor(qualifier="customer",
                  type=SETTER)
        public void setCustomer​(CustomerModel value)
        Generated method - Initial setter of SiteMessageForCustomer.customer attribute defined at extension notificationservices. Can only be used at creation of model - before first save.
        Parameters:
        value - the customer
      • setMessage

        @Accessor(qualifier="message",
                  type=SETTER)
        public void setMessage​(SiteMessageModel value)
        Generated method - Initial setter of SiteMessageForCustomer.message attribute defined at extension notificationservices. Can only be used at creation of model - before first save.
        Parameters:
        value - the message
      • setSentDate

        @Accessor(qualifier="sentDate",
                  type=SETTER)
        public void setSentDate​(java.util.Date value)
        Generated method - Initial setter of SiteMessageForCustomer.sentDate attribute defined at extension notificationservices. Can only be used at creation of model - before first save.
        Parameters:
        value - the sentDate