1 25 26 29 package net.killingar.forum.internal; 30 31 public class Strip extends IDItemImpl implements ParentIDItem 32 { 33 public long parentID = -1, nextID = -1, prevID = -1; 34 public String URL, localURL, description, systemDescription; 35 public java.sql.Date time; 36 37 public Strip( 38 long ID, 39 long parent, 40 String URL, 41 String localURL, 42 long next, 43 long prev, 44 java.sql.Date time, 45 String description, 46 String systemDescription) 47 { 48 super(ID); 49 this.parentID = parent; 50 this.URL = URL; 51 this.nextID = next; 52 this.prevID = prev; 53 this.time = time; 54 this.description = description; 55 this.systemDescription = systemDescription; 56 this.localURL = localURL; 57 } 58 59 public Strip( 60 long parent, 61 String URL, 62 java.sql.Date time, 63 String description, 64 String systemDescription) 65 { 66 super(-1); 67 this.parentID = parent; 68 this.URL = URL; 69 this.nextID = -1; 70 this.time = time; 71 this.description = description; 72 this.systemDescription = systemDescription; 73 } 74 75 public Strip() 76 { 77 super(-1); 78 } 79 80 public long getParentID() { return parentID; } 81 public long getNextID() { return nextID; } 82 public long getPrevID() { return prevID; } 83 public String getUrl() { return URL; } 84 public String getLocalUrl() { return localURL; } 85 public String getDescription() { return description; } 86 public String getSystemDescription() { return systemDescription; } 87 public java.sql.Date getTime() { return time; } 88 89 public void setNextID(long in) { nextID = in; } 90 public void setPrevID(long in) { prevID = in; } 91 public void setUrl(String in) { URL = in; } 92 public void setLocalUrl(String in) { localURL = in; } 93 public void setDescription(String in) { description = in; } 94 public void setSystemDescription(String in) { systemDescription = in; } 95 public void setTime(java.sql.Date in) { time = in; } 96 } 97 | Popular Tags |