| | |
| | | private String columnName; |
| | | private String columnMehtod; |
| | | private String type; |
| | | private String setColumnMehtodName; |
| | | |
| | | |
| | | public ColumnData() { |
| | |
| | | this.columnName = columnName; |
| | | this.type = type; |
| | | this.columnMehtod = "get" + (columnName.subSequence(0, 1) + "").toUpperCase() + columnName.subSequence(1, columnName.length()) + "()"; |
| | | this.setColumnMehtodName = "set" + (columnName.subSequence(0, 1) + "").toUpperCase() + columnName.subSequence(1, columnName.length()); |
| | | } |
| | | |
| | | public String getColumnName() { |
| | |
| | | public void setType(String type) { |
| | | this.type = type; |
| | | } |
| | | |
| | | public String getSetColumnMehtodName() { |
| | | return setColumnMehtodName; |
| | | } |
| | | |
| | | public void setSetColumnMehtodName(String setColumnMehtodName) { |
| | | this.setColumnMehtodName = setColumnMehtodName; |
| | | } |
| | | } |