View Javadoc
1 2 /* 3 LoaderGenerator - tool for generated xml, sql and doml file needed for Octopus. 4 5 6 Copyright (C) 2003 Together 7 8 This library is free software; you can redistribute it and/or 9 modify it under the terms of the GNU Lesser General Public 10 License as published by the Free Software Foundation; either 11 version 2.1 of the License, or (at your option) any later version. 12 13 This library is distributed in the hope that it will be useful, 14 but WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 Lesser General Public License for more details. 17 18 You should have received a copy of the GNU Lesser General Public 19 License along with this library; if not, write to the Free Software 20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 */ 22 23 package org.webdocwf.util.loader.generator; 24 25 26 /*** 27 * ImportDefinitionAttributes class stores the value of Import definition tag parameters, which 28 * are needed for creating ImportDefinition.xml file.w2 29 * @author Radoslav Dutina 30 * @version 1.0 31 */ 32 public class ImportDefinitionAttributes { 33 34 35 private String name="Table1"; 36 private String tableName="TableName1"; 37 private String logMode="normal"; 38 private String objectIDIncrementid="20"; 39 40 private String[] tagSourceColumnName={"default"}; 41 private String[] tagTargetTableName={"default"}; 42 private String[] tagTargetColumnName={"default"}; 43 private String[] tagTargetTableID={"default"}; 44 45 private String[] tagColumnType={"default"}; 46 private String[] tagAllowNulls= {"default"}; 47 private String[] tagColumnLenght={"default"}; 48 49 50 /*** 51 * This method sets the value of name parameter. 52 * @param _name is the value of parameter. 53 */ 54 public void setName(String _name){ 55 name=_name; 56 } 57 58 /*** 59 * This method read the value of name parameter. 60 * @return value of parameter. 61 */ 62 public String getName(){ 63 return name; 64 } 65 66 /*** 67 * This method sets the value of tableName parameter. 68 * @param table_Name is the value of parameter. 69 */ 70 public void setTableName(String table_Name){ 71 tableName=table_Name; 72 } 73 74 /*** 75 * This method read the value of tableName parameter. 76 * @return value of parameter. 77 */ 78 public String getTableName(){ 79 return tableName; 80 } 81 82 /*** 83 * This method sets the value of logMode parameter. 84 * @param log_Mode is the value of parameter. 85 */ 86 public void setLogMode(String log_Mode){ 87 logMode=log_Mode; 88 } 89 90 /*** 91 * This method read the value of logMode parameter. 92 * @return value of parameter. 93 */ 94 public String getLogMode(){ 95 return logMode; 96 } 97 98 /*** 99 * This method sets the value of objectIDIncrementid parameter. 100 * @param object_ID_Incrementid is the value of parameter. 101 */ 102 public void setObjectIDIncrementid(String object_ID_Incrementid){ 103 objectIDIncrementid=object_ID_Incrementid; 104 } 105 106 /*** 107 * This method read the value of objectIDIncrementid parameter. 108 * @return value of parameter. 109 */ 110 public String getObjectIDIncrementid(){ 111 return objectIDIncrementid; 112 } 113 114 /*** 115 * This method sets the value of tagSourceColumnName parameter. 116 * @param tag_Source_ColumnName is the value of parameter. 117 */ 118 public void setTagSourceColumnName(String[] tag_Source_ColumnName){ 119 tagSourceColumnName=tag_Source_ColumnName; 120 } 121 122 /*** 123 * This method read the value of tagSourceColumnName parameter. 124 * @return value of parameter. 125 */ 126 public String[] getTagSourceColumnName(){ 127 return tagSourceColumnName; 128 } 129 130 /*** 131 * This method sets the value of tagTargetTableName parameter. 132 * @param tag_Target_TableName is the value of parameter. 133 */ 134 public void setTagTargetTableName(String[] tag_Target_TableName){ 135 tagTargetTableName=tag_Target_TableName; 136 } 137 138 /*** 139 * This method read the value of tagTargetTableName parameter. 140 * @return value of parameter. 141 */ 142 public String[] getTagTargetTableName(){ 143 return tagTargetTableName; 144 } 145 146 /*** 147 * This method sets the value of tagTargetColumnName parameter. 148 * @param tag_Target_ColumnName is the value of parameter. 149 */ 150 public void setTagTargetColumnName(String[] tag_Target_ColumnName){ 151 tagTargetColumnName=tag_Target_ColumnName; 152 } 153 154 /*** 155 * This method read the value of tagTargetColumnName parameter. 156 * @return value of parameter. 157 */ 158 public String[] getTagTargetColumnName(){ 159 return tagTargetColumnName; 160 } 161 162 /*** 163 * This method sets the value of tagTargetTableID parameter. 164 * @param tag_Target_TableID is the value of parameter. 165 */ 166 public void setTagTargetTableID(String[] tag_Target_TableID){ 167 tagTargetTableID=tag_Target_TableID; 168 } 169 170 /*** 171 * This method read the value of tagTargetTableID parameter. 172 * @return value of parameter. 173 */ 174 public String[] getTagTargetTableID(){ 175 return tagTargetTableID; 176 } 177 178 /*** 179 * This method sets the value of tagColumnType parameter. 180 * @param tag_ColumnType is the value of parameter. 181 */ 182 public void setTagColumnType(String[] tag_ColumnType){ 183 tagColumnType=tag_ColumnType; 184 } 185 186 /*** 187 * This method read the value of tagColumnType parameter. 188 * @return value of parameter. 189 */ 190 public String[] getTagColumnType(){ 191 return tagColumnType; 192 } 193 194 /*** 195 * This method sets the value of tagAllowNulls parameter. 196 * @param tag_AllowNulls is the value of parameter. 197 */ 198 public void setTagAllowNulls(String[] tag_AllowNulls){ 199 tagAllowNulls=tag_AllowNulls; 200 } 201 202 /*** 203 * This method read the value of tagAllowNulls parameter. 204 * @return value of parameter. 205 */ 206 public String[] getTagAllowNulls(){ 207 return tagAllowNulls; 208 } 209 210 /*** 211 * This method sets the value of tagColumnLenght parameter. 212 * @param tag_ColumnLenght is the value of parameter. 213 */ 214 public void setTagColumnLenght(String[] tag_ColumnLenght){ 215 tagColumnLenght=tag_ColumnLenght; 216 } 217 218 /*** 219 * This method read the value of tagColumnLenght parameter. 220 * @return value of parameter. 221 */ 222 public String[] getTagColumnLenght(){ 223 return tagColumnLenght; 224 } 225 226 227 }

This page was automatically generated by Maven