1 46 package org.bsf.remoteIterator.common; 47 48 import java.io.Serializable ; 49 50 56 public class ColumnMetadata implements Serializable { 57 private int _scale; 58 private int _precision; 59 private int _columnType; 60 private String _tableName; 61 private String _columnName; 62 private String _schemaName; 63 private String _columnTypeName; 64 private String _columnClassName; 65 66 70 public int getColumnType() { 71 return _columnType; 72 } 73 74 public void setColumnType( int p_columnType ) { 75 _columnType = p_columnType; 76 } 77 78 public String getColumnTypeName() { 79 return _columnTypeName; 80 } 81 82 public void setColumnTypeName( String p_columnTypeName ) { 83 _columnTypeName = p_columnTypeName; 84 } 85 86 public int getScale() { 87 return _scale; 88 } 89 90 public void setScale( int scale ) { 91 _scale = scale; 92 } 93 94 public int getPrecision() { 95 return _precision; 96 } 97 98 public void setPrecision( int p_precision ) { 99 _precision = p_precision; 100 } 101 102 public String getColumnClassName() { 103 return _columnClassName; 104 } 105 106 public void setColumnClassName( String p_columnClassName ) { 107 _columnClassName = p_columnClassName; 108 } 109 110 public String getColumnName() { 111 return _columnName; 112 } 113 114 public void setColumnName( String p_columnName ) { 115 _columnName = p_columnName; 116 } 117 118 public String getSchemaName() { 119 return _schemaName; 120 } 121 122 public void setSchemaName( String p_schemaName ) { 123 _schemaName = p_schemaName; 124 } 125 126 public String getTableName() { 127 return _tableName; 128 } 129 130 public void setTableName( String p_tableName ) { 131 _tableName = p_tableName; 132 } 133 134 public String toString() { 135 return "ColumnMetada ( " + _schemaName + ", " + _tableName + ", " + _columnName + ", " + _columnClassName + " )"; 136 } 137 } | Popular Tags |