1 11 package org.eclipse.update.core.model; 12 13 29 public class ImportModel extends ModelObject { 30 31 private String id; 32 private String version; 33 private String matchingIdRuleName; 34 private String matchingRuleName; 35 private boolean featureImport; 36 private boolean patch; 37 private String osArch; 38 private String ws; 39 private String os; 40 private String nl; 41 42 47 public ImportModel() { 48 super(); 49 } 50 51 58 public String getPluginIdentifier() { 59 return id; 60 } 61 62 68 public String getIdentifier() { 69 return id; 70 } 71 72 79 public String getPluginVersion() { 80 return version; 81 } 82 83 89 public String getVersion() { 90 return version; 91 } 92 93 99 public String getMatchingRuleName() { 100 return matchingRuleName; 101 } 102 103 109 public String getMatchingIdRuleName() { 110 return matchingIdRuleName; 111 } 112 113 121 public void setPluginIdentifier(String pluginId) { 122 assertIsWriteable(); 123 this.id = pluginId; 124 } 125 126 134 public void setPluginVersion(String pluginVersion) { 135 assertIsWriteable(); 136 this.version = pluginVersion; 137 } 138 139 146 public void setIdentifier(String id) { 147 assertIsWriteable(); 148 this.id = id; 149 } 150 151 158 public void setVersion(String version) { 159 assertIsWriteable(); 160 this.version = version; 161 } 162 163 170 public void setMatchingRuleName(String matchingRuleName) { 171 assertIsWriteable(); 172 this.matchingRuleName = matchingRuleName; 173 } 174 181 public void setMatchingIdRuleName(String matchingIdRuleName) { 182 assertIsWriteable(); 183 this.matchingIdRuleName = matchingIdRuleName; 184 } 185 189 public boolean isFeatureImport() { 190 return featureImport; 191 } 192 193 197 public void setFeatureImport(boolean featureImport) { 198 this.featureImport = featureImport; 199 } 200 201 204 public boolean isPatch() { 205 return patch; 206 } 207 208 211 public void setPatch(boolean patch) { 212 this.patch = patch; 213 } 214 218 public String getOS() { 219 return os; 220 } 221 222 226 public String getOSArch() { 227 return osArch; 228 } 229 230 234 public String getWS() { 235 return ws; 236 } 237 238 242 public void setOS(String os) { 243 this.os = os; 244 } 245 246 250 public void setOSArch(String osArch) { 251 this.osArch = osArch; 252 } 253 254 258 public void setWS(String ws) { 259 this.ws = ws; 260 } 261 262 266 public String getNL() { 267 return nl; 268 } 269 270 274 public void setNL(String nl) { 275 this.nl = nl; 276 } 277 278 } 279 | Popular Tags |