예제 #1
0
 public Chapters()
 {
     index      = 0;
     number     = 0;
     link       = "";
     tome       = new Tome();
     title      = "";
     total_page = 0;
     date       = null;
 }
예제 #2
0
 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;
 }
예제 #3
0
 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;
 }
예제 #4
0
 public void setTome(Tome t)
 {
     tome = t;
 }
예제 #5
0
 public Tome(Tome t)
 {
     this.title  = t.title;
     this.number = t.number;
 }