Class Category

All Implemented Interfaces:
Serializable, Cloneable

public class Category extends DataBaseObject
The Class Category.
See Also:
  • Field Details Link icon

    • CAT_ACTIVE Link icon

      protected boolean CAT_ACTIVE
      The cat active.
    • CAT_DESCRIPTION Link icon

      protected String CAT_DESCRIPTION
      The cat description.
    • CAT_ID Link icon

      protected long CAT_ID
      The cat id.
    • CAT_NAME Link icon

      protected String CAT_NAME
      The cat name.
  • Constructor Details Link icon

    • Category Link icon

      public Category()
      Instantiates a new category.
    • Category Link icon

      public Category(long id)
      Instantiates a new category.
      Parameters:
      id - the id
  • Method Details Link icon

    • getActive Link icon

      public boolean getActive()
      Gets the active.
      Returns:
      the active
    • setActive Link icon

      public void setActive(boolean param)
      Sets the active.
      Parameters:
      param - the new active
    • setActive Link icon

      public void setActive(String param)
      Sets the active.
      Parameters:
      param - the new active
    • getDescription Link icon

      public String getDescription()
      Gets the description.
      Returns:
      the description
    • setDescription Link icon

      public void setDescription(String param)
      Sets the description.
      Parameters:
      param - the new description
    • getId Link icon

      public long getId()
      Gets the id.
      Returns:
      the id
    • setId Link icon

      public void setId(long param)
      Sets the id.
      Parameters:
      param - the new id
    • setId Link icon

      public void setId(String param)
      Sets the id.
      Parameters:
      param - the new id
    • getName Link icon

      public String getName()
      Gets the name.
      Returns:
      the name
    • setName Link icon

      public void setName(String param)
      Sets the name.
      Parameters:
      param - the new name
    • hashCode Link icon

      public int hashCode()
      Hash code.
      Overrides:
      hashCode in class Object
    • equals Link icon

      public boolean equals(Object obj)
      Equals.
      Overrides:
      equals in class Object