public Chapters()
 {
     index      = 0;
     number     = 0;
     link       = "";
     tome       = new Tome();
     title      = "";
     total_page = 0;
     date       = null;
 }
 public Chapters(int id, bool is_chapter, double nb, String l, Tome t, String title, String date)
 {
     this.index      = id;
     this.is_chapter = is_chapter;
     this.number     = nb;
     this.link       = l;
     this.tome       = t;
     this.title      = title;
     this.total_page = 0;
     this.date       = date;
 }
 public Chapters(Chapters old)
 {
     this.index      = old.index;
     this.is_chapter = old.is_chapter;
     this.number     = old.number;
     this.link       = old.link;
     if (old.tome != null)
     {
         this.tome = new Tome(old.tome);
     }
     else
     {
         this.tome = null;
     }
     this.title      = old.title;
     this.total_page = old.total_page;
     this.date       = old.date;
 }
 public void setTome(Tome t)
 {
     tome = t;
 }
Beispiel #5
0
 public Tome(Tome t)
 {
     this.title  = t.title;
     this.number = t.number;
 }