Android Open Source - Simple-Android-SQL-DB S Q L Basic Row






From Project

Back to project page Simple-Android-SQL-DB.

License

The source code is released under:

Apache License

If you think the Android project Simple-Android-SQL-DB listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package io.github.darkprayer93.database;
//from   www.ja  v a  2 s.  c o m
public class SQLBasicRow {

  private int id;
  private String shortNAME;
  private String shortURL;

  public SQLBasicRow(){}

  public SQLBasicRow(String shortNAME, String shortURL) {
    super();
    this.shortNAME = shortNAME;
    this.shortURL = shortURL;
  }

  //getters & setters
  public int getId() {
    return id;
  }
  public void setId(int id) {
    this.id = id;
  }
  public String getShortNAME() {
    return shortNAME;
  }
  public void setShortNAME(String shortNAME) {
    this.shortNAME = shortNAME;
  }
  public String getShortURL() {
    return shortURL;
  }
  public void setShortURL(String shortURL) {
    this.shortURL = shortURL;
  }

  @Override
  public String toString() {
    return "SQLBasicRow [id=" + id + ", shortNAME=" + shortNAME + ", shortURL=" + shortURL
        + "]";
  }

}




Java Source Code List

io.github.darkprayer93.database.SQLBasicRow.java
io.github.darkprayer93.database.SQLHelper.java
io.github.darkprayer93.example.ExampleActivity.java
io.github.darkprayer93.example.NoticeDialogFragment.java