Class Category

java.lang.Object
com.majorana.maj_orm.ORM.BaseMajoranaEntity
com.majorana.maj_orm.entities.ex1.Category

public class Category extends BaseMajoranaEntity
Category - An example Entity to persist to a DB, it uses the jakarta persistance @Column annotation to name the database table for each non transient and non static field
  • Field Details

  • Constructor Details

    • Category

      public Category()
  • Method Details

    • getFields

      public static String getFields()
    • getTableName

      public String getTableName()
      Specified by:
      getTableName in class BaseMajoranaEntity
    • getCid

      public int getCid()
    • setCid

      public void setCid(int i)
    • getCname

      public String getCname()
    • setCname

      public void setCname(String s)
    • getNpages

      public int getNpages()
    • setNpage

      public void setNpage(int np)