1 25 26 29 package net.killingar.forum.internal; 30 31 public class Comic extends NamedItemImpl 32 { 33 public long latestID = -1, firstID = -1; 34 public String URL, position, system; 35 36 public Comic() 37 { 38 super(-1, ""); 39 } 40 41 public Comic( 42 long ID, 43 String name, 44 String URL, 45 long latest, 46 long first, 47 String system, 48 String position) 49 { 50 super(ID, name); 51 this.URL = URL; 52 this.latestID = latest; 53 this.firstID = first; 54 this.system = system; 55 this.position = position; 56 } 57 58 59 public Comic( 60 String name, 61 String URL, 62 String system, 63 String position) 64 { 65 super(-1, name); 66 this.URL = URL; 67 this.latestID = -1; 68 this.firstID = -1; 69 this.system = system; 70 this.position = position; 71 } 72 73 74 public long getLatestID() { return latestID; } 75 public long getFirstID() { return firstID; } 76 public String getUrl() { return URL; } 77 public String getPosition() { return position; } 78 public String getSystem() { return system; } 79 80 public void setLatestID(long in) { latestID = in; } 81 public void setFirstID(long in) { firstID = in; } 82 public void setUrl(String in) { URL = in; } 83 public void setPosition(String in) { position = in; } 84 public void setSystem(String in) { system = in; } 85 } 86 | Popular Tags |