Class Article

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

public class Article extends BaseMajoranaEntity
Article - 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

    • Article

      public Article()
  • Method Details

    • getTableName

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

      public static String getFields()
    • getArid

      public int getArid()
    • getFeedid

      public int getFeedid()
    • getTitle

      public String getTitle()
    • getURL

      public String getURL()
    • getCode

      public String getCode()
    • getImageURL

      public String getImageURL()
    • getImageHeight

      public int getImageHeight()
    • getImageWidth

      public int getImageWidth()
    • getDatestamp

      public int getDatestamp()
    • getScore

      public float getScore()
    • getDescription

      public String getDescription()
    • setArid

      public void setArid(int arid)
    • setFeedid

      public void setFeedid(int feedid)
    • setTitle

      public void setTitle(String title)
    • setURL

      public void setURL(String url)
    • setCode

      public void setCode(String code)
    • setImageURL

      public void setImageURL(String imageURL)
    • setImageHeight

      public void setImageHeight(int h)
    • setImageWidth

      public void setImageWidth(int w)
    • setDatestamp

      public void setDatestamp(int date)
    • setScore

      public void setScore(float score)
    • setDescription

      public void setDescription(String description)
    • insertSQL

      public String insertSQL()