sql2javamapping.java

来自「一个java 代码生成器」· Java 代码 · 共 42 行

JAVA
42
字号
/**
 * Copyright (c) 2002, Siddhartha P. Chandurkar siddhartha@visioncodified.com
 * All rights reserved.
 * Licensed under the Academic Free License version 1.1
 * See the file LICENSE.TXT for details.
 * LICENSE.txt is located in the directory  <install-directory>\Jenerator
 * of your Jenertaor Installation.
 *
 */

package com.jenerator.util;

import java.util.Properties;

/**
 *
 *
 * @author Siddhartha P. Chandurkar
 * @version 0.9.0
 */
public class Sql2JavaMapping extends Properties {
    /**     * Searches for the property with the specified key in this property list.     * If the key is not found in this property list, the default property list,     * and its defaults, recursively, are then checked. The method returns     * <code>null</code> if the property is not found. The method is overided to make
     * getProperty case insensitive.     *     * @param   key   the property key.     * @return  the value in this property list with the specified key value.     * @see     #setProperty     * @see     #defaults     */
    public String getProperty(String key) {
        String tmp = null;
        tmp = super.getProperty(key.toUpperCase());
        if (tmp == null)
            tmp = super.getProperty(key.toLowerCase());
        return tmp;
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?