View Javadoc
1   /*
2    * Copyright (c) 2002-2025, City of Paris
3    * All rights reserved.
4    *
5    * Redistribution and use in source and binary forms, with or without
6    * modification, are permitted provided that the following conditions
7    * are met:
8    *
9    *  1. Redistributions of source code must retain the above copyright notice
10   *     and the following disclaimer.
11   *
12   *  2. Redistributions in binary form must reproduce the above copyright notice
13   *     and the following disclaimer in the documentation and/or other materials
14   *     provided with the distribution.
15   *
16   *  3. Neither the name of 'Mairie de Paris' nor 'Lutece' nor the names of its
17   *     contributors may be used to endorse or promote products derived from
18   *     this software without specific prior written permission.
19   *
20   * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21   * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22   * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23   * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
24   * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25   * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26   * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27   * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28   * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29   * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30   * POSSIBILITY OF SUCH DAMAGE.
31   *
32   * License 1.0
33   */
34  package fr.paris.lutece.plugins.pluginwizard.business.model;
35  
36  import java.io.Serializable;
37  
38  /**
39   * This is the business class for the object Configuration
40   */
41  public class Configuration implements Serializable
42  {
43      /**
44       * 
45       */
46  	 private static final long serialVersionUID = 1L;
47  	 private int _nId;
48  	 private String _strWorkflowTaskName;
49  	 private String _strWorkflowFormConfigRequired;
50  	 private String _strWorkflowFormTaskRequired;
51  	 private String _strWorkflowTaskForAutomaticAction;
52  
53  	 
54  	 /**
55  	  * Constructor
56  	  **/
57  	 public Configuration( )
58  	 {
59  		 //Default configuration
60  		 _strWorkflowFormConfigRequired="0";
61  		 _strWorkflowFormTaskRequired="0";
62  		 _strWorkflowTaskForAutomaticAction="0";
63  		 _strWorkflowTaskName="";		 
64  	 }
65  	 
66      /**
67       * Returns the Id
68       * 
69       * @return The Id
70       */
71      public int getId( )
72      {
73          return _nId;
74      }
75  
76      /**
77       * Sets the Id
78       * 
79       * @param nId
80       * 			The Id
81       */
82      public void setId( int nId )
83      {
84          _nId = nId;
85      }
86   
87      /**
88       * Returns WorkflowFormConfigRequired
89       * 
90       * @return The WorkflowFormConfigRequired
91       */
92      public String getWorkflowFormConfigRequired( )
93      {
94          return _strWorkflowFormConfigRequired;
95      }
96  
97      /**
98       * Sets the WorkflowFormConfigRequired
99       * 
100      * @param strWorkflowFormConfigRequired
101      *            The WorkflowFormConfigRequired
102      */
103     public void setWorkflowFormConfigRequired( String strWorkflowFormConfigRequired )
104     {
105     	_strWorkflowFormConfigRequired = strWorkflowFormConfigRequired;
106     }
107 
108     /**
109      * Returns the WorkflowFormTaskRequired
110      * 
111      * @return The WorkflowFormTaskRequired
112      */
113     public String getWorkflowFormTaskRequired( )
114     {
115         return _strWorkflowFormTaskRequired;
116     }
117 
118     /**
119      * Sets the WorkflowFormTaskRequired
120      * 
121      * @param strWorkflowFormTaskRequired
122      *            The WorkflowFormTaskRequired
123      */
124     public void setWorkflowFormTaskRequired( String strWorkflowFormTaskRequired )
125     {
126         _strWorkflowFormTaskRequired = strWorkflowFormTaskRequired;
127     }
128 
129     /**
130      * Returns the WorkflowTaskForAutomaticAction
131      * 
132      * @return The WorkflowTaskForAutomaticAction
133      */
134     public String getWorkflowTaskForAutomaticAction( )
135     {
136         return _strWorkflowTaskForAutomaticAction;
137     }
138 
139     /**
140      * Sets the WorkflowTaskForAutomaticAction
141      * 
142      * @param strWorkflowTaskForAutomaticAction
143      *            The WorkflowTaskForAutomaticAction
144      */
145     public void setWorkflowTaskForAutomaticAction( String strWorkflowTaskForAutomaticAction )
146     {
147         _strWorkflowTaskForAutomaticAction = strWorkflowTaskForAutomaticAction;
148     }
149     
150     /**
151      * Returns the _strWorkflowTaskName
152      * 
153      * @return The _strWorkflowTaskName
154      */
155     public String getWorkflowTaskName( )
156     {
157         return _strWorkflowTaskName;
158     }
159 
160     /**
161      * Sets the _strWorkflowTaskName
162      * 
163      * @param strWorkflowTaskName
164      *            The WorkflowTaskName
165      */
166     public void setWorkflowTaskName( String strWorkflowTaskName )
167     {
168     	_strWorkflowTaskName = strWorkflowTaskName;
169     }
170 }