Class Subscription

  • All Implemented Interfaces:
    java.io.Serializable

    public class Subscription
    extends java.lang.Object
    implements java.io.Serializable
    This is the business class for the object Subscription
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Subscription()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getDemandTypeId()
      Returns the DemandTypeId
      int getFrequency()
      Returns the Frequency (in hours)
      int getId()
      Returns the Id
      java.lang.String getMail()
      Returns the Mail
      void setDemandTypeId​(int nDemandTypeId)
      Sets the DemandTypeId
      void setFrequency​(int nFrequency)
      Sets the Frequency (in hours)
      void setId​(int nId)
      Sets the Id
      void setMail​(java.lang.String strMail)
      Sets the Mail
      • Methods inherited from class java.lang.Object

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

      • Subscription

        public Subscription()
    • Method Detail

      • getId

        public int getId()
        Returns the Id
        Returns:
        The Id
      • setId

        public void setId​(int nId)
        Sets the Id
        Parameters:
        nId - The Id
      • getDemandTypeId

        public int getDemandTypeId()
        Returns the DemandTypeId
        Returns:
        The DemandTypeId
      • setDemandTypeId

        public void setDemandTypeId​(int nDemandTypeId)
        Sets the DemandTypeId
        Parameters:
        nDemandTypeId - The DemandTypeId
      • getMail

        public java.lang.String getMail()
        Returns the Mail
        Returns:
        The Mail
      • setMail

        public void setMail​(java.lang.String strMail)
        Sets the Mail
        Parameters:
        strMail - The Mail
      • getFrequency

        public int getFrequency()
        Returns the Frequency (in hours)
        Returns:
        The Frequency
      • setFrequency

        public void setFrequency​(int nFrequency)
        Sets the Frequency (in hours)
        Parameters:
        nFrequency - The Frequency