D:\CRM_Project\CRM_Metadata_Structure\NetBeamsICM_TestProject\ICM_DB_TestComponents\src\java\unstructured_data_idao\JavaCodeGeneratorDAO.java
  1 /*
  2  * To change this license header, choose License Headers in Project Properties.
  3  * To change this template file, choose Tools | Templates
  4  * and open the template in the editor.
  5  */
  6 package unstructured_data_idao;
  7 
  8 import constants.MainConstants;
  9 
 10 
 11 /**
 12  *
 13  * @author sameldin
 14  * 
 15  * This DAO help with creating the java code for DAO which will be converted to XML files.
 16  * This DAO is a service for Convert2DAO_Class_UsingBusinessRule_1.java
 17  */
 18 public class JavaCodeGeneratorDAO {
 19 
 20 
 21         private String  dataTypeString                  = "";
 22         private String  fieldNameString              = "";
 23         private String  commentsString                  = "";
 24         private String  successPercentageString         = "";
 25         private String  getMethodString                 = "";
 26         private String  setMethodString                 = "";  
 27         private int     dataTypeValue                   = 0;
 28         private int     rowColumnID                     = 0;
 29     
 30     /**
 31      * @return the dataTypeString
 32      */
 33     public String getDataTypeString() {
 34         return dataTypeString;
 35     }
 36 
 37     /**
 38      * @param dataTypeString the dataTypeString to set
 39      */
 40     public void setDataTypeString(String dataTypeString) {
 41         this.dataTypeString = dataTypeString;
 42     }
 43 
 44     /**
 45      * @return the fieldNameString
 46      */
 47     public String getFieldNameString() {
 48         return fieldNameString;
 49     }
 50 
 51     /**
 52      * @param fieldNameString the fieldNameString to set
 53      */
 54     public void setFieldNameString(String fieldNameString) {
 55         this.fieldNameString = fieldNameString;
 56     }
 57 
 58     /**
 59      * @return the commentsString
 60      */
 61     public String getCommentsString() {
 62         return commentsString;
 63     }
 64 
 65     /**
 66      * @param commentsString the commentsString to set
 67      */
 68     public void setCommentsString(String commentsString) {
 69         this.commentsString = commentsString;
 70     }
 71 
 72     /**
 73      * @return the successPercentageString
 74      */
 75     public String getSuccessPercentageString() {
 76         return successPercentageString;
 77     }
 78 
 79     /**
 80      * @param successPercentageString the successPercentageString to set
 81      */
 82     public void setSuccessPercentageString(String successPercentageString) {
 83         this.successPercentageString = successPercentageString;
 84     }
 85 
 86     /**
 87      * @return the getmethodString
 88      */
 89     public String getGetMethodString() {
 90         return getMethodString;
 91     }
 92 
 93     /**
 94      * @param getmethodString the getmethodString to set
 95      */
 96     public void setGetMethodString(String getMethodString) {
 97         this.getMethodString = getMethodString;
 98     }
 99 
100     /**
101      * @return the setmethodString
102      */
103     public String getSetMethodString() {
104         return setMethodString;
105     }
106 
107     /**
108      * @param setmethodString the setmethodString to set
109      */
110     public void setSetMethodString(String setMethodString) {
111         this.setMethodString = setMethodString;
112     }
113     /**
114      * @return the dataTypeValue
115      */
116     public int getDataTypeValue() {
117         return dataTypeValue;
118     }
119 
120     /**
121      * @param dataTypeValue the dataTypeValue to set
122      */
123     public void setDataTypeValue(int dataTypeValue) {
124         this.dataTypeValue = dataTypeValue;
125     }
126     /**
127      * @return the rowColumnID
128      */
129     public int getRowColumnID() {
130         return rowColumnID;
131     }
132 
133     /**
134      * @param rowColumnID the rowColumnID to set
135      */
136     public void setRowColumnID(int rowColumnID) {
137         this.rowColumnID = rowColumnID;
138     }
139     
140      /**
141      * toString
142      */
143     public String toString()    {
144                    return("dataTypeString                      " + getDataTypeString()
145                            + "fieldNameString                  " + getFieldNameString()
146                            + "commentsString                   " + getCommentsString()
147                            + "successPercentageString          " + getSuccessPercentageString()
148                            + "getMethodString                  " + getGetMethodString()
149                            + "setMethodString                  " + getSetMethodString()
150                            + "dataTypeValue                    " + getDataTypeValue()
151                            + "rowColumnID                      " + getRowColumnID()
152                         );
153     }
154         
155 }
156