xmlconscolumn.java
来自「导出ORACLE数据库对象DDL语句的程序」· Java 代码 · 共 102 行
JAVA
102 行
package com.icbcsdc.ddlexp.pub.xml.nodeinfo;
/**
* @author zhangyc
*
* To change this generated comment edit the template variable "typecomment":
* Window>Preferences>Java>Templates.
* To enable and disable the creation of type comments go to
* Window>Preferences>Java>Code Generation.
*/
public class XMLConsColumn extends XMLNode{
private String tableName=null;
private String columnPosition=null;
/**
* Constructor for OracleDatFile.
*/
public XMLConsColumn(String tName,String cName) {
super();
this.tableName = tName;
this.name=cName;
}
/**
* Constructor for OracleDatFile.
*/
public XMLConsColumn(String tName,String cName,String position) {
super();
this.tableName = tName;
this.name=cName;
this.columnPosition= position;
}
public static void main(String[] args) {
}
/**
* Returns the autoExtent.
* @return String
*/
/**
* Returns the fileName.
* @return String
*/
public String getName() {
return name;
}
/**
* Returns the fileSize.
* @return long
*/
public String getColumnPosition() {
return columnPosition;
}
/**
* @return Returns the tableName.
*/
public String getTableName() {
return tableName;
}
/* (non-Javadoc)
* @see com.icbcsdc.ddlexp.pub.xml.nodeinfo.XMLNode#getType()
*/
public int getType() {
return XMLNode.XML_CONSCOLUMN;
}
/* (non-Javadoc)
* @see com.icbcsdc.ddlexp.pub.xml.nodeinfo.XMLNode#chkChildType(com.icbcsdc.ddlexp.pub.xml.nodeinfo.XMLNode)
*/
public boolean chkChildType(XMLNode node) {
return false;
}
/* (non-Javadoc)
* @see com.icbcsdc.ddlexp.pub.xml.nodeinfo.XMLNode#getSqlDDL()
*/
public String getSqlDDL() {
// TODO Auto-generated method stub
return null;
}
/**从数据库中获取数据对象比较后的结果*/
public void refreshChangedProperties(){
}
/**
* @see com.icbcsdc.ddlexp.pub.xml.nodeinfo.XMLNode#refresh()
*/
public void refresh() {
}
/**从数据库中获取数据对象定义*/
public void refreshDDLInfo(){
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?