java/jdbc-loopback-driver/src/info/globalcode/jdbc/loopback/AbstractResultSetMetaData.java
author František Kučera <franta-hg@frantovo.cz>
Sat, 16 May 2015 23:58:06 +0200
branchv_0
changeset 191 862d0a8747ac
parent 171 701ec4db43fb
permissions -rw-r--r--
avoid NullPointerException (value = null) while duplicating to java.util.Properties
     1 /**
     2  * SQL-DK
     3  * Copyright © 2014 František Kučera (frantovo.cz)
     4  *
     5  * This program is free software: you can redistribute it and/or modify
     6  * it under the terms of the GNU General Public License as published by
     7  * the Free Software Foundation, either version 3 of the License, or
     8  * (at your option) any later version.
     9  *
    10  * This program is distributed in the hope that it will be useful,
    11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    13  * GNU General Public License for more details.
    14  *
    15  * You should have received a copy of the GNU General Public License
    16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
    17  */
    18 package info.globalcode.jdbc.loopback;
    19 
    20 import java.sql.SQLException;
    21 
    22 /**
    23  *
    24  * @author Ing. František Kučera (frantovo.cz)
    25  */
    26 public abstract class AbstractResultSetMetaData implements java.sql.ResultSetMetaData {
    27 
    28 	@Override
    29 	public int getColumnCount() throws SQLException {
    30 		throw new SQLException("Not supported yet.");
    31 	}
    32 
    33 	@Override
    34 	public boolean isAutoIncrement(int column) throws SQLException {
    35 		throw new SQLException("Not supported yet.");
    36 	}
    37 
    38 	@Override
    39 	public boolean isCaseSensitive(int column) throws SQLException {
    40 		throw new SQLException("Not supported yet.");
    41 	}
    42 
    43 	@Override
    44 	public boolean isSearchable(int column) throws SQLException {
    45 		throw new SQLException("Not supported yet.");
    46 	}
    47 
    48 	@Override
    49 	public boolean isCurrency(int column) throws SQLException {
    50 		throw new SQLException("Not supported yet.");
    51 	}
    52 
    53 	@Override
    54 	public int isNullable(int column) throws SQLException {
    55 		throw new SQLException("Not supported yet.");
    56 	}
    57 
    58 	@Override
    59 	public boolean isSigned(int column) throws SQLException {
    60 		throw new SQLException("Not supported yet.");
    61 	}
    62 
    63 	@Override
    64 	public int getColumnDisplaySize(int column) throws SQLException {
    65 		throw new SQLException("Not supported yet.");
    66 	}
    67 
    68 	@Override
    69 	public String getColumnLabel(int column) throws SQLException {
    70 		throw new SQLException("Not supported yet.");
    71 	}
    72 
    73 	@Override
    74 	public String getColumnName(int column) throws SQLException {
    75 		throw new SQLException("Not supported yet.");
    76 	}
    77 
    78 	@Override
    79 	public String getSchemaName(int column) throws SQLException {
    80 		throw new SQLException("Not supported yet.");
    81 	}
    82 
    83 	@Override
    84 	public int getPrecision(int column) throws SQLException {
    85 		throw new SQLException("Not supported yet.");
    86 	}
    87 
    88 	@Override
    89 	public int getScale(int column) throws SQLException {
    90 		throw new SQLException("Not supported yet.");
    91 	}
    92 
    93 	@Override
    94 	public String getTableName(int column) throws SQLException {
    95 		throw new SQLException("Not supported yet.");
    96 	}
    97 
    98 	@Override
    99 	public String getCatalogName(int column) throws SQLException {
   100 		throw new SQLException("Not supported yet.");
   101 	}
   102 
   103 	@Override
   104 	public int getColumnType(int column) throws SQLException {
   105 		throw new SQLException("Not supported yet.");
   106 	}
   107 
   108 	@Override
   109 	public String getColumnTypeName(int column) throws SQLException {
   110 		throw new SQLException("Not supported yet.");
   111 	}
   112 
   113 	@Override
   114 	public boolean isReadOnly(int column) throws SQLException {
   115 		throw new SQLException("Not supported yet.");
   116 	}
   117 
   118 	@Override
   119 	public boolean isWritable(int column) throws SQLException {
   120 		throw new SQLException("Not supported yet.");
   121 	}
   122 
   123 	@Override
   124 	public boolean isDefinitelyWritable(int column) throws SQLException {
   125 		throw new SQLException("Not supported yet.");
   126 	}
   127 
   128 	@Override
   129 	public String getColumnClassName(int column) throws SQLException {
   130 		throw new SQLException("Not supported yet.");
   131 	}
   132 
   133 	@Override
   134 	public <T> T unwrap(Class<T> iface) throws SQLException {
   135 		throw new SQLException("Not supported yet.");
   136 	}
   137 
   138 	@Override
   139 	public boolean isWrapperFor(Class<?> iface) throws SQLException {
   140 		throw new SQLException("Not supported yet.");
   141 	}
   142 }