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.workflow.modules.forms.business; 35 36 import fr.paris.lutece.plugins.forms.business.Form; 37 import fr.paris.lutece.plugins.forms.business.Question; 38 import fr.paris.lutece.plugins.forms.business.Step; 39 40 public class FormResponseValueStateControllerConfig 41 { 42 private int _id; 43 private int _idTask; 44 private boolean _multiform; 45 private Form _form; 46 private Step _step; 47 private Question _question; 48 private String _value; 49 private String _code; 50 51 /** 52 * @return the id 53 */ 54 public int getId( ) 55 { 56 return _id; 57 } 58 59 /** 60 * @param id 61 * the id to set 62 */ 63 public void setId( int id ) 64 { 65 _id = id; 66 } 67 68 /** 69 * @return the idTask 70 */ 71 public int getIdTask( ) 72 { 73 return _idTask; 74 } 75 76 /** 77 * @param idTask 78 * the idTask to set 79 */ 80 public void setIdTask( int idTask ) 81 { 82 _idTask = idTask; 83 } 84 85 /** 86 * @return the form 87 */ 88 public Form getForm( ) 89 { 90 return _form; 91 } 92 93 /** 94 * @param form 95 * the form to set 96 */ 97 public void setForm( Form form ) 98 { 99 _form = form; 100 } 101 102 /** 103 * @return the step 104 */ 105 public Step getStep( ) 106 { 107 return _step; 108 } 109 110 /** 111 * @param step 112 * the step to set 113 */ 114 public void setStep( Step step ) 115 { 116 _step = step; 117 } 118 119 /** 120 * @return the question 121 */ 122 public Question getQuestion( ) 123 { 124 return _question; 125 } 126 127 /** 128 * @param question 129 * the question to set 130 */ 131 public void setQuestion( Question question ) 132 { 133 _question = question; 134 } 135 136 /** 137 * @return the value 138 */ 139 public String getValue( ) 140 { 141 return _value; 142 } 143 144 /** 145 * @param value 146 * the value to set 147 */ 148 public void setValue( String value ) 149 { 150 _value = value; 151 } 152 153 /** 154 * @return the multiform 155 */ 156 public boolean isMultiform( ) 157 { 158 return _multiform; 159 } 160 161 /** 162 * @param multiform 163 * the multiform to set 164 */ 165 public void setMultiform( boolean multiform ) 166 { 167 this._multiform = multiform; 168 } 169 170 /** 171 * @return the code 172 */ 173 public String getCode( ) 174 { 175 return _code; 176 } 177 178 /** 179 * @param code 180 * the code to set 181 */ 182 public void setCode( String code ) 183 { 184 _code = code; 185 } 186 }