📄 sqlsimpletype.java
字号:
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/**
* Title: XELOPES Data Mining Library
* Description: The XELOPES library is an open platform-independent and data-source-independent library for Embedded Data Mining.
* Copyright: Copyright (c) 2002 Prudential Systems Software GmbH
* Company: ZSoft (www.zsoft.ru), Prudsys (www.prudsys.com)
* @author Valentine Stepanenko (valentine.stepanenko@zsoft.ru)
* @version 1.0
*/
package com.prudsys.pdm.Cwm.Relational;
/**
* A simple datatype used with an SQL column. Examples are Integer, Varchar, LOB,
* CLOB, etc...
*/
public class SQLSimpleType extends SQLDataType implements org.omg.cwm.resource.relational.SQLSimpleType
{
/**
* See [SQL], corresponding field in DATA_TYPE_DESCRIPTOR
*/
public com.prudsys.pdm.Cwm.Core.Integer characterMaximumLength;
/**
* See [SQL], corresponding field in DATA_TYPE_DESCRIPTOR
*/
public com.prudsys.pdm.Cwm.Core.Integer characterOctetLength;
/**
* See [SQL], corresponding field in DATA_TYPE_DESCRIPTOR
*/
public com.prudsys.pdm.Cwm.Core.Integer numericPrecision;
/**
* See [SQL], corresponding field in DATA_TYPE_DESCRIPTOR
*/
public com.prudsys.pdm.Cwm.Core.Integer numericPrecisionRadix;
/**
* See [SQL], corresponding field in DATA_TYPE_DESCRIPTOR
*/
public com.prudsys.pdm.Cwm.Core.Integer numericScale;
/**
* See [SQL], corresponding field in DATA_TYPE_DESCRIPTOR
*/
public com.prudsys.pdm.Cwm.Core.Integer dateTimePrecision;
public SQLDistinctType sqlDistinctType[];
public SQLSimpleType()
{
}
public java.lang.Long getCharacterMaximumLength() {
return characterMaximumLength.getLong();
}
public void setCharacterMaximumLength(java.lang.Long characterMaximumLength) {
com.prudsys.pdm.Cwm.Core.Integer i = new com.prudsys.pdm.Cwm.Core.Integer();
i.setLong(characterMaximumLength);
this.characterMaximumLength = i;
}
public java.lang.Long getCharacterOctetLength() {
return characterOctetLength.getLong();
}
public void setCharacterOctetLength(java.lang.Long characterOctetLength) {
com.prudsys.pdm.Cwm.Core.Integer i = new com.prudsys.pdm.Cwm.Core.Integer();
i.setLong(characterOctetLength);
this.characterOctetLength = i;
}
public java.lang.Long getDateTimePrecision() {
return dateTimePrecision.getLong();
}
public void setDateTimePrecision(java.lang.Long dateTimePrecision) {
com.prudsys.pdm.Cwm.Core.Integer i = new com.prudsys.pdm.Cwm.Core.Integer();
i.setLong(dateTimePrecision);
this.dateTimePrecision = i;
}
public java.lang.Long getNumericPrecision() {
return numericPrecision.getLong();
}
public void setNumericPrecision(java.lang.Long numericPrecision) {
com.prudsys.pdm.Cwm.Core.Integer i = new com.prudsys.pdm.Cwm.Core.Integer();
i.setLong(numericPrecision);
this.numericPrecision = i;
}
public java.lang.Long getNumericPrecisionRadix() {
return numericPrecisionRadix.getLong();
}
public void setNumericPrecisionRadix(java.lang.Long numericPrecisionRadix) {
com.prudsys.pdm.Cwm.Core.Integer i = new com.prudsys.pdm.Cwm.Core.Integer();
i.setLong(numericPrecisionRadix);
this.numericPrecisionRadix = i;
}
public java.lang.Long getNumericScale() {
return numericScale.getLong();
}
public void setNumericScale(java.lang.Long numericScale) {
com.prudsys.pdm.Cwm.Core.Integer i = new com.prudsys.pdm.Cwm.Core.Integer();
i.setLong(numericScale);
this.numericScale = i;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -