1 25 26 29 package net.killingar.forum.internal; 30 31 public class Area extends NamedItemImpl 32 { 33 public long areaGroupID = -1; 34 public String mode; 35 public String description; 36 public String custom; 37 39 public Area(long _ID, long _areaGroupID, String _name, String _mode, String _description) 40 { 41 super(_ID, _name); 42 43 areaGroupID = _areaGroupID; 44 mode = _mode; 45 description = _description; 46 } 47 48 public Area(long _ID, long _areaGroupID, String _name, String _mode, String _description, String _custom) 49 { 50 super(_ID, _name); 51 52 areaGroupID = _areaGroupID; 53 mode = _mode; 54 description = _description; 55 custom = _custom; 56 } 57 58 public Area(long _areaGroupID, String _mode) 59 { 60 super(-1, ""); 61 62 areaGroupID = _areaGroupID; 63 mode = _mode; 64 } 65 66 public Area(long _areaGroupID, String _name, String _mode, String _description) 67 { 68 super(-1, _name); 69 70 areaGroupID = _areaGroupID; 71 mode = _mode; 72 } 73 74 public Area() 75 { 76 super(-1, ""); 77 78 areaGroupID = -1; 79 } 80 81 public String getMode() { return mode; } 82 public long getAreaGroupID() { return areaGroupID; } 83 public String getDescription() { return description; } 84 public String getCustom() { return custom; } 85 95 96 public void setMode(String in) { mode = in; } 97 public void setAreaGroupID(long in) { areaGroupID = in; } 98 public void setDescription(String in) { description = in; } 99 public void setCustom(String in) { custom = in; } 100 } | Popular Tags |