- \r
- public Vector<LibrarySet> getLibSet(){\r
- return this.libSet; \r
- }\r
- \r
- /**\r
- * Add map element\r
- */\r
- public void addMap(UserDefineElement mapElement){\r
- if (isReference()){\r
- throw noChildrenAllowed();\r
- }else{\r
- this.map.addElement(mapElement);\r
- }\r
- }\r
- \r
- public Vector<UserDefineElement> getMap (){\r
- return this.map;\r
- } \r
- \r
- public String getMapvalue (){\r
- if (this.map.size() > 0){\r
- /*\r
- * If user set more than one map use the first one. \r
- */\r
- return this.map.get(0).value;\r
- }\r
- return null;\r
- \r
- }\r
- public String getMapFlag(){\r
- if (this.map.size() > 0){\r
- /*\r
- * If user set more than one map use the first one. \r
- */\r
- return this.map.get(0).flag;\r
- }\r
- return null;\r
- }\r
- /**\r
- * Add pdb element\r
- */\r
- public void addPdb(UserDefineElement pdbElement){\r
- if (isReference()){\r
- throw noChildrenAllowed();\r
- }\r
- this.pdb.addElement(pdbElement);\r
- }\r
- \r
- public Vector<UserDefineElement> getPdb(){\r
- return this.pdb;\r
- }\r
- public String getPdbvalue (){\r
- if (this.pdb.size() > 0){\r
- /*\r
- * If user set more than one pdb use the first one. \r
- * \r
- */\r
- return this.pdb.get(0).value;\r
- }\r
- return null;\r
- \r
- }\r
- public String getPdbFlag(){\r
- if (this.pdb.size() > 0){\r
- /*\r
- * If user set more than one pdb use the first one. \r
- */\r
- return this.pdb.get(0).flag;\r
- }\r
- return null;\r
- }\r
- \r
- /**\r
- * add entryPoint element.\r
- */\r
- public void addEntryPoint(UserDefineElement entryPointElement){\r
- if (isReference()){\r
- throw noChildrenAllowed();\r
- }\r
- this.entryPoint.addElement(entryPointElement);\r
- }\r
- \r
- public Vector<UserDefineElement> getEntryPoint(){\r
- return this.entryPoint;\r
- }\r
- \r
- public String getEntryPointvalue (){\r
- if (this.entryPoint.size() > 0){\r
- /*\r
- * If user set more than one entryPoint use the first one. \r
- */\r
- return this.entryPoint.get(0).value;\r
- }\r
- return null;\r
- \r
- }\r
- public String getEntryPointFlag(){\r
- if (this.entryPoint.size() > 0){\r
- /*\r
- * If user set more than one entry point use the first one. \r
- */\r
- return this.entryPoint.get(0).flag;\r
- }\r
- return null;\r
- }\r
- \r
- /**\r
- * Add subSystem element.\r
- */\r
- public void addSubSystem (UserDefineElement subSystem){\r
- if (isReference()){\r
- throw noChildrenAllowed();\r
- }\r
- this.subSystem.addElement(subSystem);\r
- }\r
- public Vector<UserDefineElement> getSubSystem (){\r
- return this.subSystem;\r
- }\r
- \r
- public String getSubSystemvalue (){\r
- if (this.subSystem.size() > 0){\r
- /*\r
- * If user set more than one subsystem use the first one. \r
- */\r
- return this.subSystem.get(0).value;\r
- }\r
- return null;\r
- \r
- }\r
- public String getSubSystemFlag(){\r
- if (this.subSystem.size() > 0){\r
- /*\r
- * If user set more than one subsystem use the first one. \r
- */\r
- return this.subSystem.get(0).flag;\r
- }\r
- return null;\r
- }\r
- /**\r
- * Add includeFile element\r
- */\r
- public void addIncludeFile (UserDefineElement includeFile){\r
- if (isReference()){\r
- throw noChildrenAllowed();\r
- }\r
- this.includeFiles.addElement(includeFile);\r
- }\r
- public Vector<UserDefineElement> getIncludeFiles(){\r
- return this.includeFiles;\r
- }\r
- \r
- public String getIncludeFile (){\r
- if (this.includeFiles.size() > 0){\r
- /*\r
- * If user set more than one map use the first one. \r
- */\r
- return this.includeFiles.get(0).value;\r
- }\r
- return null;\r
- \r
- }\r
- public String getIncludeFileFlag(){\r
- if (this.includeFiles.size() > 0){\r
- /*\r
- * If user set more than one map use the first one. \r
- */\r
- return this.includeFiles.get(0).flag;\r
- }\r
- return null;\r
- }\r
- \r
- /**\r
- * Add OutputFile element\r
- */\r
- public void addOutputFile (UserDefineElement outPutFile){\r
- if (isReference()){\r
- throw noChildrenAllowed();\r
- }\r
- this.outPutFiles.addElement(outPutFile);\r
- }\r
- \r
- public Vector<UserDefineElement> getOutputFiles(){\r
- return this.outPutFiles;\r
- }\r
- \r
- public String getOutputFile (){\r
- if (this.outPutFiles.size() > 0){\r
- /*\r
- * If user set more than one map use the first one. \r
- */\r
- return this.outPutFiles.get(0).value;\r
- }\r
- return null;\r
- \r
- }\r
- public String getOutPutFlag(){\r
- if (this.outPutFiles.size() > 0){\r
- /*\r
- * If user set more than one map use the first one. \r
- */\r
- return this.outPutFiles.get(0).flag;\r
- }\r
- return null;\r
- }\r
- \r
- /**\r
- * Add fileSet list\r
- */\r
- public void addFileList(FileList fileSet){\r
- this.fileSetList.addElement(fileSet);\r