Class DemandCategory

  • All Implemented Interfaces:
    java.io.Serializable

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

      Constructors 
      Constructor Description
      DemandCategory()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCode()
      Returns the Code
      int getId()
      Returns the Id
      java.lang.String getLabel()
      Returns the Label
      boolean isDefault()  
      void setCode​(java.lang.String strCode)
      Sets the Code
      void setDefault​(boolean isDefault)  
      void setId​(int nId)
      Sets the Id
      void setLabel​(java.lang.String strLabel)
      Sets the Label
      • Methods inherited from class java.lang.Object

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

      • DemandCategory

        public DemandCategory()
    • 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
      • getCode

        public java.lang.String getCode()
        Returns the Code
        Returns:
        The Code
      • setCode

        public void setCode​(java.lang.String strCode)
        Sets the Code
        Parameters:
        strCode - The Code
      • getLabel

        public java.lang.String getLabel()
        Returns the Label
        Returns:
        The Label
      • setLabel

        public void setLabel​(java.lang.String strLabel)
        Sets the Label
        Parameters:
        strLabel - The Label
      • isDefault

        public boolean isDefault()
        Returns:
        the _isDefault
      • setDefault

        public void setDefault​(boolean isDefault)
        Parameters:
        isDefault - the _isDefault to set