Class Category

  • All Implemented Interfaces:
    java.io.Serializable

    public class Category
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Category()  
    • 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 getName()
      Returns the Name
      boolean isDefault()
      Returns the isDefault boolean
      void setCode​(java.lang.String strCode)
      Sets the Code
      void setDefault​(boolean isDefault)
      Sets the isDefault boolean
      void setId​(int nId)
      Sets the Id
      void setName​(java.lang.String strName)
      Sets the Name
      • Methods inherited from class java.lang.Object

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

      • Category

        public Category()
    • 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
      • getName

        public java.lang.String getName()
        Returns the Name
        Returns:
        The Name
      • setName

        public void setName​(java.lang.String strName)
        Sets the Name
        Parameters:
        strName - The Name
      • 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
      • isDefault

        public boolean isDefault()
        Returns the isDefault boolean
        Returns:
        The isDefault boolean
      • setDefault

        public void setDefault​(boolean isDefault)
        Sets the isDefault boolean
        Parameters:
        isDefault - The isDefault boolean