1 43 package net.jforum.entities; 44 45 49 public class AttachmentExtensionGroup 50 { 51 public static final int DOWNLOAD_INLINE = 1; 52 public static final int DOWNLOAD_PHYSICAL = 2; 53 54 private int id; 55 private String name; 56 private boolean allow; 57 private String uploadIcon; 58 private int downloadMode; 59 60 63 public int getDownloadMode() 64 { 65 return this.downloadMode; 66 } 67 68 71 public void setDownloadMode(int downloadMode) 72 { 73 this.downloadMode = downloadMode; 74 } 75 76 79 public boolean isAllow() 80 { 81 return this.allow; 82 } 83 84 87 public void setAllow(boolean allow) 88 { 89 this.allow = allow; 90 } 91 92 95 public int getId() 96 { 97 return this.id; 98 } 99 100 103 public void setId(int id) 104 { 105 this.id = id; 106 } 107 108 111 public String getName() 112 { 113 return this.name; 114 } 115 116 119 public void setName(String name) 120 { 121 this.name = name; 122 } 123 124 127 public String getUploadIcon() 128 { 129 return this.uploadIcon; 130 } 131 132 135 public void setUploadIcon(String uploadIcon) 136 { 137 this.uploadIcon = uploadIcon; 138 } 139 } 140 | Popular Tags |