1 19 20 package org.netbeans.modules.web.project.api; 21 22 import java.io.File ; 23 import org.openide.filesystems.FileObject; 24 25 31 public class WebProjectCreateData { 32 33 private File projectDir; 35 private String name; 36 private String serverInstanceID; 37 private String javaEEVersion; 38 private String sourceLevel; 39 private String javaPlatformName; 40 41 private String contextPath; 43 private String sourceStructure; 44 45 private FileObject wmFO; 49 private File [] sourceFolders; 50 private File [] testFolders; 51 private FileObject docBase; 52 private FileObject libFolder; 53 private String buildfile; 54 private boolean javaSourceBased = true; 55 56 59 public WebProjectCreateData() { 60 } 61 62 66 public File getProjectDir() { 67 return projectDir; 68 } 69 70 74 public void setProjectDir(File projectDir) { 75 this.projectDir = projectDir; 76 } 77 78 82 public String getName() { 83 return name; 84 } 85 86 90 public void setName(String name) { 91 this.name = name; 92 } 93 94 98 public String getServerInstanceID() { 99 return serverInstanceID; 100 } 101 102 106 public void setServerInstanceID(String serverInstanceID) { 107 this.serverInstanceID = serverInstanceID; 108 } 109 110 114 public String getJavaEEVersion() { 115 return javaEEVersion; 116 } 117 118 122 public void setJavaEEVersion(String javaEEVersion) { 123 this.javaEEVersion = javaEEVersion; 124 } 125 126 130 public String getContextPath() { 131 return contextPath; 132 } 133 134 138 public void setContextPath(String contextPath) { 139 this.contextPath = contextPath; 140 } 141 142 147 public String getSourceStructure() { 148 return sourceStructure; 149 } 150 151 156 public void setSourceStructure(String sourceStructure) { 157 this.sourceStructure = sourceStructure; 158 } 159 160 164 public FileObject getWebModuleFO() { 165 return wmFO; 166 } 167 168 172 public void setWebModuleFO(FileObject wmFO) { 173 this.wmFO = wmFO; 174 } 175 176 180 public File [] getSourceFolders() { 181 return sourceFolders; 182 } 183 184 188 public void setSourceFolders(File [] sourceFolders) { 189 this.sourceFolders = sourceFolders; 190 } 191 192 196 public File [] getTestFolders() { 197 return testFolders; 198 } 199 200 204 public void setTestFolders(File [] testFolders) { 205 this.testFolders = testFolders; 206 } 207 208 212 public FileObject getDocBase() { 213 return docBase; 214 } 215 216 220 public void setDocBase(FileObject docBase) { 221 this.docBase = docBase; 222 } 223 224 228 public FileObject getLibFolder() { 229 return libFolder; 230 } 231 232 236 public void setLibFolder(FileObject libFolder) { 237 this.libFolder = libFolder; 238 } 239 240 244 public String getBuildfile() { 245 return buildfile; 246 } 247 248 252 public void setBuildfile(String buildfile) { 253 this.buildfile = buildfile; 254 } 255 256 260 public String getSourceLevel() { 261 return sourceLevel; 262 } 263 264 268 public void setSourceLevel(String sourceLevel) { 269 this.sourceLevel = sourceLevel; 270 } 271 272 276 public String getJavaPlatformName() { 277 return javaPlatformName; 278 } 279 280 284 public void setJavaPlatformName(String javaPlatformName) { 285 this.javaPlatformName = javaPlatformName; 286 } 287 288 319 324 public void setJavaSourceBased(boolean b) { 325 this.javaSourceBased = b; 326 } 327 328 332 public boolean getJavaSourceBased() { 333 return this.javaSourceBased; 334 } 335 336 } 337 | Popular Tags |