001: /*
002: LoaderGenerator - tool for generated xml, sql and doml file needed for Octopus.
003:
004:
005: Copyright (C) 2003 Together
006:
007: This library is free software; you can redistribute it and/or
008: modify it under the terms of the GNU Lesser General Public
009: License as published by the Free Software Foundation; either
010: version 2.1 of the License, or (at your option) any later version.
011:
012: This library is distributed in the hope that it will be useful,
013: but WITHOUT ANY WARRANTY; without even the implied warranty of
014: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
015: Lesser General Public License for more details.
016:
017: You should have received a copy of the GNU Lesser General Public
018: License along with this library; if not, write to the Free Software
019: Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
020: */
021:
022: package org.webdocwf.util.loader.generator;
023:
024: /**
025: * LoaderJobAttributes class stores the parameters of loadJob tag for LoaderJob.xml file.
026: * @author Radoslav Dutina
027: * @version 1.0
028: */
029: public class LoaderJobAttributes {
030:
031: public final String loaderJob = "loaderJob";
032: private String logMode = "none";
033: private String objectIDIncrement = "1";
034: private String objectIDTableName = "objectid";
035: private String objectIDColumnName = "next";
036:
037: /**
038: * This method sets the value of logMode parameter.
039: * @param log_mode is value of parameter.
040: */
041: public void setLogMode(String log_mode) {
042: logMode = log_mode;
043: }
044:
045: /**
046: * This method read the value of logMode parameter.
047: * @return value of parameter.
048: */
049: public String getLogMode() {
050: return logMode;
051: }
052:
053: /**
054: * This method sets the value of objectIDIncrement parameter.
055: * @param object_ID_Increment is value of parameter.
056: */
057: public void setObjectIDIncrement(String object_ID_Increment) {
058: objectIDIncrement = object_ID_Increment;
059: }
060:
061: /**
062: * This method read the value of objectIDIncrement parameter.
063: * @return value of parameter.
064: */
065: public String getObjectIDIncrement() {
066: return objectIDIncrement;
067: }
068:
069: /**
070: * This method sets the value of objectIDTableName attribute.
071: * @param object_ID_TableName is value of attribute.
072: */
073: public void setObjectIDTableName(String object_ID_TableName) {
074: objectIDTableName = object_ID_TableName;
075: }
076:
077: /**
078: * This method read the value of objectIDTableName attribute.
079: * @return value of attribute.
080: */
081: public String getObjectIDTableName() {
082: return objectIDTableName;
083: }
084:
085: /**
086: * This method sets the value of objectIDColumnName parameter.
087: * @param object_ID_ColumnName is value of parameter.
088: */
089: public void setObjectIDColumnName(String object_ID_ColumnName) {
090: objectIDColumnName = object_ID_ColumnName;
091: }
092:
093: /**
094: * This method read the value of objectIDColumnName parameter.
095: * @return value of parameter.
096: */
097: public String getObjectIDColumnName() {
098: return objectIDColumnName;
099: }
100:
101: }
|