Class Category

java.lang.Object
com.avoka.tm.vo.Category

public class Category extends Object
Provide a Category value object class.
Since:
22.10.4
  • Constructor Details

    • Category

      public Category()
    • Category

      public Category(com.avoka.fc.core.entity.Category category)
      Create a Category value object with the given category entity parameter.
      Parameters:
      category - the category entity parameter (required)
    • Category

      public Category(Map fields)
      Create a unit testing Category value object with the given fields.
      Parameters:
      fields - the category entity fields (required)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
      Returns:
      a string representation of the object.
    • getId

      public Long getId()
      The client id (PK).
    • getCategoryName

      public String getCategoryName()
      The category name.
    • getCategoryDescription

      public String getCategoryDescription()
      The category description.