001: /*
002: * SalomeTMF is a Test Management Framework
003: * Copyright (C) 2005 France Telecom R&D
004: *
005: * This library is free software; you can redistribute it and/or
006: * modify it under the terms of the GNU Lesser General Public
007: * License as published by the Free Software Foundation; either
008: * version 2 of the License, or (at your option) any later version.
009: *
010: * This library is distributed in the hope that it will be useful,
011: * but WITHOUT ANY WARRANTY; without even the implied warranty of
012: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
013: * Lesser General Public License for more details.
014: *
015: * You should have received a copy of the GNU Lesser General Public
016: * License along with this library; if not, write to the Free Software
017: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
018: *
019: * @author Aurore PENAULT, Marche Mikael
020: *
021: * Contact: mikael.marche@orange-ft.com
022: */
023:
024: package salomeTMF_plug.docXML.export;
025:
026: public class Contexte {
027:
028: public enum OutFormat {
029: XML, HTML, DOCBOOK, EXCEL
030: };
031:
032: String pathAttach;
033: String[] ficType;
034: String coding;
035: private OutFormat outputFormat;
036:
037: /* Tobedeleted */
038: /*boolean hasCampRequirementsGraph = false;
039: boolean hasResExecRequirementsGraph = false;
040: boolean hasRequirementsGraph = false;
041: */
042: public Contexte(String _pathAttach, String[] _ficType, String code,
043: OutFormat outputFormat) {
044: pathAttach = _pathAttach;
045: ficType = _ficType;
046: coding = code;
047: this .outputFormat = outputFormat;
048: /*
049: hasCampRequirementsGraph = false;
050: hasResExecRequirementsGraph = false;
051: hasRequirementsGraph = false;
052: */
053: }
054:
055: public String[] getFicType() {
056: return ficType;
057: }
058:
059: public String getPathAttach() {
060: return pathAttach;
061: }
062:
063: public String getCoding() {
064: return coding;
065: }
066:
067: public OutFormat getOutputFormat() {
068: return outputFormat;
069: }
070:
071: public void setOutputFormat(OutFormat outputFormat) {
072: this .outputFormat = outputFormat;
073: }
074:
075: /*
076: public boolean isHasCampRequirementsGraph() {
077: return hasCampRequirementsGraph;
078: }
079:
080: public void setHasCampRequirementsGraph(boolean hasCampRequirementsGraph) {
081: this.hasCampRequirementsGraph = hasCampRequirementsGraph;
082: }
083:
084: public boolean isHasRequirementsGraph() {
085: return hasRequirementsGraph;
086: }
087:
088: public void setHasRequirementsGraph(boolean hasRequirementsGraph) {
089: this.hasRequirementsGraph = hasRequirementsGraph;
090: }
091:
092: public boolean isHasResExecRequirementsGraph() {
093: return hasResExecRequirementsGraph;
094: }
095:
096: public void setHasResExecRequirementsGraph(
097: boolean hasResExecRequirementsGraph) {
098: this.hasResExecRequirementsGraph = hasResExecRequirementsGraph;
099: }
100: */
101:
102: }
|