com.ibm.commerce.emarketing.engine

Class Recipient

  • java.lang.Object
    • com.ibm.commerce.emarketing.engine.Recipient
  • Direct Known Subclasses:
    EmailRecipient


    public class Recipient
    extends java.lang.Object
    A recipient of some marketing message. Although this class is concrete, code utilizing this representation of a recipient is more likely to sub-class this class to add further information as to what type of recipient the class portrays (e.g., email, physical mail, faxes, etc...).
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      Copyright.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Recipient()
      Null argument constructor for this class.
      Recipient(java.lang.Long recipientId)
      Constructor for this class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Long getRecipientId()
      Gets the ID of this Recipient.
      void setRecipientId(java.lang.Long recipientId)
      Sets the ID of this Recipient.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

    • Constructor Detail

      • Recipient

        public Recipient()
        Null argument constructor for this class.
      • Recipient

        public Recipient(java.lang.Long recipientId)
        Constructor for this class.
        Parameters:
        recipientId - the ID used to represent this Recipient.
    • Method Detail

      • getRecipientId

        public java.lang.Long getRecipientId()
        Gets the ID of this Recipient.
        Returns:
        the ID used to represent this Recipient.
      • setRecipientId

        public void setRecipientId(java.lang.Long recipientId)
        Sets the ID of this Recipient.
        Parameters:
        recipientId - the ID used to represent this Recipient.