All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.centit.support.database.metadata.TableReference Maven / Gradle / Ivy

Go to download

数据库操作通用方法和函数,从以前的util包中分离出来,并且整合了部分sys-module中的函数

There is a newer version: 5.3.2302
Show newest version
package com.centit.support.database.metadata;

import java.util.Map;

public interface TableReference {
	/**
	 *
	 * @return 约束代码
	 */
	String getReferenceCode();
	/**
	 *
	 * @return 约束名称
	 */
	String getReferenceName();
	/**
	 *
	 * @return 表名称
	 */
	String getTableName();
	
	/**
	 *
	 * @return 父表表名称
	 */
	String getParentTableName();
	
	/*
	 *
	 * @return 这个只有sql server 有用,其他可以忽略
	 */
	//int getObjectId() ;
	/**
	 *
	 * @return 主键外键对应关系
	 */
	Map getReferenceColumns() ;
	
	/**
	 * 判断某个字段是否是外键
	 * @param sCol 字段
	 * @return  是否是外键
	 */
	boolean containColumn(String sCol);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy