com.gauce
Class GauceDataColumn

java.lang.Object
  extended bycom.gauce.GauceDataColumn
All Implemented Interfaces:
java.io.Serializable

public class GauceDataColumn
extends java.lang.Object
implements java.io.Serializable

GacueDataSet¿¡¼­ ColumnÁ¤º¸¸¦ ³ªÅ¸³½´Ù. Column°´Ã¼¸¦ »ý¼ºÇÑ ÈÄ GauceDataSet ¿¡ µî·ÏÇØ¾ß ÇÑ´Ù.

Since:
Gauce 2.9
Version:
1.0 2002.08
Author:
Shift Information & Communication CO.
See Also:
Serialized Form

Field Summary
static char CEIL
          ¼Ò¼öÁ¡ÀÌÇÏ ÁöÁ¤µÈ ¹üÀ§ÀÇ ¿Ã¸²À» ³ªÅ¸³½´Ù.
static char FLOOR
          ¼Ò¼öÁ¡ÀÌÇÏ ÁöÁ¤µÈ ¹üÀ§ÀÇ ¹ö¸²À» ³ªÅ¸³½´Ù.
static char ROUND
          ¼Ò¼öÁ¡ ÀÌÇÏ ÁöÁ¤µÈ ¹üÀ§ÀÇ ¹Ý¿Ã¸²À» ³ªÅ¸³½´Ù.
static int TB_BIGINT
          ColumnÀÇ 64ºñÆ® Á¤¼öÇüÀ» ³ªÅ¸³½´Ù.
static int TB_BLOB
          ColumnÀÇ Binary°´Ã¤(BLOB) À¯ÇüÀ» ³ªÅ¸³½´Ù.
static int TB_CONSTANT
          Deprecated. TOinB Á¦Ç°¿¡¼­ »ç¿ëÇÏ´Â ¼Ó¼ºÀ̸ç, °¡¿ì½º¿¡¼­´Â »ç¿ëÇÏÁö ¾Ê´Â ¼Ó¼ºÀÌ´Ù.
static int TB_DATE
          ColumnÀÇ Date À¯ÇüÀ» ³ªÅ¸³½´Ù.
static int TB_DECIMAL
          ColumnÀÇ Decimal À¯ÇüÀ» ³ªÅ¸³½´Ù.
static int TB_INT
          ColumnÀÇ ¼ýÀÚ À¯ÇüÀ» ³ªÅ¸³½´Ù.
static int TB_KEY
          ColumnÀÇ Å°°ªÀ» ³ªÅ¸³½´Ù.
static int TB_NORMAL
          ColumnÀÇ ÀÏ¹Ý À¯ÇüÀ» ³ªÅ¸³½´Ù.
static int TB_NOTNULL
          ColumnÀÇ Not Null À¯ÇüÀ» ³ªÅ¸³½´Ù.
static int TB_NUMBER
          ColumnÀÇ Number À¯ÇüÀ» ³ªÅ¸³½´Ù.
static int TB_SEC_BLOB
          Deprecated. ÇöÀç °¡¿ì½º¿¡¼­´Â Àû¿ëµÇÁö ¾Ê´Â ¼Ó¼ºÀÌ´Ù.
static int TB_SEC_DATE
          Deprecated. ÇöÀç °¡¿ì½º¿¡¼­´Â Àû¿ëµÇÁö ¾Ê´Â ¼Ó¼ºÀÌ´Ù.
static int TB_SEC_DECIMAL
          Deprecated. ÇöÀç °¡¿ì½º¿¡¼­´Â Àû¿ëµÇÁö ¾Ê´Â ¼Ó¼ºÀÌ´Ù.
static int TB_SEC_INT
          Deprecated. ÇöÀç °¡¿ì½º¿¡¼­´Â Àû¿ëµÇÁö ¾Ê´Â ¼Ó¼ºÀÌ´Ù.
static int TB_SEC_STRING
          Deprecated. ÇöÀç °¡¿ì½º¿¡¼­´Â Àû¿ëµÇÁö ¾Ê´Â ¼Ó¼ºÀÌ´Ù.
static int TB_SEC_URL
          Deprecated. ÇöÀç °¡¿ì½º¿¡¼­´Â Àû¿ëµÇÁö ¾Ê´Â ¼Ó¼ºÀÌ´Ù.
static int TB_SECURITY
          ColumnÀÇ ¾ÏÈ£¿©ºÎ¸¦ ³ªÅ¸³½´Ù.
static int TB_SEQUENCE
          ColumnÀÇ Sequence À¯ÇüÀ» ³ªÅ¸³½´Ù.
static int TB_STRING
          ColumnÀÇ ¹®ÀÚ¿­ À¯ÇüÀ» ³ªÅ¸³½´Ù.
static int TB_URL
          ColumnÀÇ URL À¯ÇüÀ» ³ªÅ¸³½´Ù.
static java.lang.String TYPE_DATE
          ColumnÀÇ Date À¯ÇüÀ» ³ªÅ¸³½´Ù.
static java.lang.String TYPE_DECIMAL
          ColumnÀÇ DecimalÀ¯ÇüÀÇ String °ªÀ» °¡Áø´Ù.
static java.lang.String TYPE_INT
          ColumnÀÇ intÀ¯ÇüÀÇ String °ªÀ» °¡Áø´Ù.
static java.lang.String TYPE_NUMBER
          ColumnÀÇ NumberÀ¯ÇüÀÇ String °ªÀ» °¡Áø´Ù.
static java.lang.String TYPE_STRING
          ColumnÀÇ StringÀ¯ÇüÀÇ String °ªÀ» °¡Áø´Ù.
 
Constructor Summary
GauceDataColumn(java.lang.String colName, int colType)
          »ý¼ºÀÚ, GauceDataColumn°´Ã¼¸¦ »ý¼ºÇÑ´Ù.
GauceDataColumn(java.lang.String colName, int colType, int size)
          »ý¼ºÀÚ, GauceDataColumn°´Ã¼¸¦ »ý¼ºÇÑ´Ù.
GauceDataColumn(java.lang.String colName, int colType, int size, int dec)
          »ý¼ºÀÚ, GauceDataColumn°´Ã¼¸¦ »ý¼ºÇÑ´Ù.
GauceDataColumn(java.lang.String colName, int colType, int size, int dec, char roundMode)
          »ý¼ºÀÚ, GauceDataColumn°´Ã¼¸¦ »ý¼ºÇÑ´Ù.
GauceDataColumn(java.lang.String colName, int colType, int size, int dec, int keyType)
          »ý¼ºÀÚ, GauceDataColumn°´Ã¼¸¦ »ý¼ºÇÑ´Ù.
GauceDataColumn(java.lang.String colName, int colType, int size, int dec, int keyType, char roundMode)
          GauceDataColumn°´Ã¼¸¦ »ý¼ºÇÑ´Ù.
 
Method Summary
 java.lang.String getColName()
          ColumnÀÇ À̸§À» ¹ÝȯÇÑ´Ù.
 int getColType()
          ColumnÀÇ ÇüŸ¦ ¹ÝȯÇÑ´Ù.
 int getDec()
          ColumnÀÇ decimal°ªÀÇ À¯ÇüÀ» ³ªÅ¸³½´Ù.
 int getKeyType()
          ColumnÀÇ Å°°ª¿¡ ´ëÇÑ À¯ÇüÀ» ¹ÝȯÇÑ´Ù.
 char getRoundMode()
          ÇöÀç ¼³Á¤µÈ ¼Ò¼öÁ¡ÀÌÇÏ Ã³¸®À¯ÇüÀ» ¹ÝȯÇÑ´Ù.
 int getSize()
          ColumnÀÇ size¸¦ ¹ÝȯÇÑ´Ù.
 void setDec(int dec)
          DecimalÇüÅÂÀÇ ¼Ò¼öÁ¡ ÀÌÇϺκÐÀÇ ±æÀ̸¦ ¼³Á¤ÇÑ´Ù.
 void setKeyType(int keyType)
          Column¿¡ ´ëÇÑ Key À¯ÇüÀ» ¼³Á¤ÇÑ´Ù.
 void setRoundMode(char roundMode)
          ¼Ò¼öÁ¡ÀÌÇÏ Ã³¸®À¯ÇüÀ» ¼³Á¤ÇÑ´Ù.
 void setSize(int size)
          Columnº¯¼öÀÇ ±æÀ̸¦ ¼³Á¤ÇÑ´Ù.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TB_STRING

public static final int TB_STRING
ColumnÀÇ ¹®ÀÚ¿­ À¯ÇüÀ» ³ªÅ¸³½´Ù.

Since:
2002.09
See Also:
Constant Field Values

TB_INT

public static final int TB_INT
ColumnÀÇ ¼ýÀÚ À¯ÇüÀ» ³ªÅ¸³½´Ù.

Since:
2002.09
See Also:
Constant Field Values

TB_DECIMAL

public static final int TB_DECIMAL
ColumnÀÇ Decimal À¯ÇüÀ» ³ªÅ¸³½´Ù.

Since:
2002.09
See Also:
Constant Field Values

TB_NUMBER

public static final int TB_NUMBER
ColumnÀÇ Number À¯ÇüÀ» ³ªÅ¸³½´Ù.

Since:
2002.09
See Also:
Constant Field Values

TB_BLOB

public static final int TB_BLOB
ColumnÀÇ Binary°´Ã¤(BLOB) À¯ÇüÀ» ³ªÅ¸³½´Ù.

Since:
2002.09
See Also:
Constant Field Values

TB_URL

public static final int TB_URL
ColumnÀÇ URL À¯ÇüÀ» ³ªÅ¸³½´Ù.

Since:
2002.09
See Also:
Constant Field Values

TB_BIGINT

public static final int TB_BIGINT
ColumnÀÇ 64ºñÆ® Á¤¼öÇüÀ» ³ªÅ¸³½´Ù.

Since:
2002.09
See Also:
Constant Field Values

TB_DATE

public static final int TB_DATE
ColumnÀÇ Date À¯ÇüÀ» ³ªÅ¸³½´Ù.

Since:
2007.06
See Also:
Constant Field Values

TB_KEY

public static final int TB_KEY
ColumnÀÇ Å°°ªÀ» ³ªÅ¸³½´Ù.

Since:
2002.09
See Also:
Constant Field Values

TB_CONSTANT

public static final int TB_CONSTANT
Deprecated. TOinB Á¦Ç°¿¡¼­ »ç¿ëÇÏ´Â ¼Ó¼ºÀ̸ç, °¡¿ì½º¿¡¼­´Â »ç¿ëÇÏÁö ¾Ê´Â ¼Ó¼ºÀÌ´Ù.

ColumnÀÇ »ó¼ö À¯ÇüÀ» ³ªÅ¸³½´Ù.

Since:
2002.09
See Also:
Constant Field Values

TB_NORMAL

public static final int TB_NORMAL
ColumnÀÇ ÀÏ¹Ý À¯ÇüÀ» ³ªÅ¸³½´Ù.

Since:
2002.09
See Also:
Constant Field Values

TB_NOTNULL

public static final int TB_NOTNULL
ColumnÀÇ Not Null À¯ÇüÀ» ³ªÅ¸³½´Ù.

Since:
2002.09
See Also:
Constant Field Values

TB_SEQUENCE

public static final int TB_SEQUENCE
ColumnÀÇ Sequence À¯ÇüÀ» ³ªÅ¸³½´Ù.

Since:
2002.09
See Also:
Constant Field Values

TYPE_NUMBER

public static final java.lang.String TYPE_NUMBER
ColumnÀÇ NumberÀ¯ÇüÀÇ String °ªÀ» °¡Áø´Ù.

Since:
2002.09
See Also:
Constant Field Values

TYPE_INT

public static final java.lang.String TYPE_INT
ColumnÀÇ intÀ¯ÇüÀÇ String °ªÀ» °¡Áø´Ù.

Since:
2002.09
See Also:
Constant Field Values

TYPE_DECIMAL

public static final java.lang.String TYPE_DECIMAL
ColumnÀÇ DecimalÀ¯ÇüÀÇ String °ªÀ» °¡Áø´Ù.

Since:
2002.09
See Also:
Constant Field Values

TYPE_STRING

public static final java.lang.String TYPE_STRING
ColumnÀÇ StringÀ¯ÇüÀÇ String °ªÀ» °¡Áø´Ù.

Since:
2002.09
See Also:
Constant Field Values

TYPE_DATE

public static final java.lang.String TYPE_DATE
ColumnÀÇ Date À¯ÇüÀ» ³ªÅ¸³½´Ù.

Since:
2007.06
See Also:
Constant Field Values

TB_SECURITY

public static final int TB_SECURITY
ColumnÀÇ ¾ÏÈ£¿©ºÎ¸¦ ³ªÅ¸³½´Ù.

Since:
2002.09
See Also:
Constant Field Values

TB_SEC_STRING

public static final int TB_SEC_STRING
Deprecated. ÇöÀç °¡¿ì½º¿¡¼­´Â Àû¿ëµÇÁö ¾Ê´Â ¼Ó¼ºÀÌ´Ù.

ColumnÀÇ ¾ÏÈ£µÈ String À¯ÇüÀ» ³ªÅ¸³½´Ù.

Since:
2002.09
See Also:
Constant Field Values

TB_SEC_INT

public static final int TB_SEC_INT
Deprecated. ÇöÀç °¡¿ì½º¿¡¼­´Â Àû¿ëµÇÁö ¾Ê´Â ¼Ó¼ºÀÌ´Ù.

ColumnÀÇ ¾ÏÈ£µÈ int À¯ÇüÀ» ³ªÅ¸³½´Ù.

Since:
2002.09
See Also:
Constant Field Values

TB_SEC_DECIMAL

public static final int TB_SEC_DECIMAL
Deprecated. ÇöÀç °¡¿ì½º¿¡¼­´Â Àû¿ëµÇÁö ¾Ê´Â ¼Ó¼ºÀÌ´Ù.

ColumnÀÇ ¾ÏÈ£µÈ DecimalÀ¯ÇüÀ» ³ªÅ¸³½´Ù.

Since:
2002.09
See Also:
Constant Field Values

TB_SEC_BLOB

public static final int TB_SEC_BLOB
Deprecated. ÇöÀç °¡¿ì½º¿¡¼­´Â Àû¿ëµÇÁö ¾Ê´Â ¼Ó¼ºÀÌ´Ù.

ColumnÀÇ ¾ÏÈ£µÈ Blob À¯ÇüÀ» ³ªÅ¸³½´Ù.

Since:
2002.09
See Also:
Constant Field Values

TB_SEC_URL

public static final int TB_SEC_URL
Deprecated. ÇöÀç °¡¿ì½º¿¡¼­´Â Àû¿ëµÇÁö ¾Ê´Â ¼Ó¼ºÀÌ´Ù.

ColumnÀÇ ¾ÏÈ£µÈ URLÀ¯ÇüÀ» ³ªÅ¸³½´Ù.

Since:
2002.09
See Also:
Constant Field Values

TB_SEC_DATE

public static final int TB_SEC_DATE
Deprecated. ÇöÀç °¡¿ì½º¿¡¼­´Â Àû¿ëµÇÁö ¾Ê´Â ¼Ó¼ºÀÌ´Ù.

ColumnÀÇ Date À¯ÇüÀ» ³ªÅ¸³½´Ù.

Since:
2007.06
See Also:
Constant Field Values

ROUND

public static final char ROUND
¼Ò¼öÁ¡ ÀÌÇÏ ÁöÁ¤µÈ ¹üÀ§ÀÇ ¹Ý¿Ã¸²À» ³ªÅ¸³½´Ù.

Since:
Gauce 2.9
See Also:
Constant Field Values

FLOOR

public static final char FLOOR
¼Ò¼öÁ¡ÀÌÇÏ ÁöÁ¤µÈ ¹üÀ§ÀÇ ¹ö¸²À» ³ªÅ¸³½´Ù.

Since:
Gauce 2.9
See Also:
Constant Field Values

CEIL

public static final char CEIL
¼Ò¼öÁ¡ÀÌÇÏ ÁöÁ¤µÈ ¹üÀ§ÀÇ ¿Ã¸²À» ³ªÅ¸³½´Ù.

Since:
Gauce 2.9
See Also:
Constant Field Values
Constructor Detail

GauceDataColumn

public GauceDataColumn(java.lang.String colName,
                       int colType,
                       int size,
                       int dec,
                       int keyType,
                       char roundMode)
GauceDataColumn°´Ã¼¸¦ »ý¼ºÇÑ´Ù.

Parameters:
colName - columnÀ̸§À» ³ªÅ¸³½´Ù.
colType - columnÀÇ Å¸ÀÔÀ» ³ªÅ¸³½´Ù.
size - columnÀÇ Å©±â¸¦ ³ªÅ¸³½´Ù.
dec - column°ªÀÌ decimalÀ϶§ÀÇ À¯ÇüÀ» ³ªÅ¸³½´Ù.
keyType - Å°°ª¿¡ ´ëÇÑ À¯ÇüÀ» ³ªÅ¸³½´Ù.
roundMode - ¼Ò¼öÁ¡ÀÌÇÏÀÇ Ã³¸®À¯ÇüÀ» ³ªÅ¸³½´Ù.
Since:
Gauce 2.9

GauceDataColumn

public GauceDataColumn(java.lang.String colName,
                       int colType,
                       int size,
                       int dec,
                       int keyType)
»ý¼ºÀÚ, GauceDataColumn°´Ã¼¸¦ »ý¼ºÇÑ´Ù.

Parameters:
colName - columnÀ̸§À» ³ªÅ¸³½´Ù.
colType - columnÀÇ Å¸ÀÔÀ» ³ªÅ¸³½´Ù.
size - columnÀÇ Å©±â¸¦ ³ªÅ¸³½´Ù.
dec - column°ªÀÌ decimalÀ϶§ÀÇ À¯ÇüÀ» ³ªÅ¸³½´Ù.
keyType - Å°°ª¿¡ ´ëÇÑ À¯ÇüÀ» ³ªÅ¸³½´Ù.
Since:
Gauce 2.9

GauceDataColumn

public GauceDataColumn(java.lang.String colName,
                       int colType,
                       int size,
                       int dec,
                       char roundMode)
»ý¼ºÀÚ, GauceDataColumn°´Ã¼¸¦ »ý¼ºÇÑ´Ù.

Parameters:
colName - columnÀ̸§À» ³ªÅ¸³½´Ù.
colType - columnÀÇ Å¸ÀÔÀ» ³ªÅ¸³½´Ù.
size - columnÀÇ Å©±â¸¦ ³ªÅ¸³½´Ù.
dec - column°ªÀÌ decimalÀ϶§ÀÇ À¯ÇüÀ» ³ªÅ¸³½´Ù.
roundMode - ¼Ò¼öÁ¡ÀÌÇÏ Ã³¸®À¯ÇüÀ» ³ªÅ¸³½´Ù.
Since:
Gauce 2.9

GauceDataColumn

public GauceDataColumn(java.lang.String colName,
                       int colType,
                       int size,
                       int dec)
»ý¼ºÀÚ, GauceDataColumn°´Ã¼¸¦ »ý¼ºÇÑ´Ù.

Parameters:
colName - columnÀ̸§À» ³ªÅ¸³½´Ù.
colType - columnÀÇ Å¸ÀÔÀ» ³ªÅ¸³½´Ù.
size - columnÀÇ Å©±â¸¦ ³ªÅ¸³½´Ù.
dec - DecimalÇüÅÂÀÇ ¼Ò¼öÁ¡ÀÌÇÏ ÀÚ¸®±æÀÌ
Since:
Gauce 2.9

GauceDataColumn

public GauceDataColumn(java.lang.String colName,
                       int colType,
                       int size)
»ý¼ºÀÚ, GauceDataColumn°´Ã¼¸¦ »ý¼ºÇÑ´Ù.

Parameters:
colName - columnÀ̸§À» ³ªÅ¸³½´Ù.
colType - columnÀÇ Å¸ÀÔÀ» ³ªÅ¸³½´Ù.
size - ColumnÀÇ Å©±â¸¦ ³ªÅ¸³½´Ù.
Since:
Gauce 2.9

GauceDataColumn

public GauceDataColumn(java.lang.String colName,
                       int colType)
»ý¼ºÀÚ, GauceDataColumn°´Ã¼¸¦ »ý¼ºÇÑ´Ù.

Parameters:
colName - columnÀ̸§À» ³ªÅ¸³½´Ù.
colType - columnÀÇ Å¸ÀÔÀ» ³ªÅ¸³½´Ù.
Since:
Gauce 2.9
Method Detail

getColName

public java.lang.String getColName()
ColumnÀÇ À̸§À» ¹ÝȯÇÑ´Ù.

Returns:
column À̸§
Since:
Gauce 2.9

getColType

public int getColType()
ColumnÀÇ ÇüŸ¦ ¹ÝȯÇÑ´Ù.

Returns:
columnÇüÅÂ
Since:
Gauce 2.9

getKeyType

public int getKeyType()
ColumnÀÇ Å°°ª¿¡ ´ëÇÑ À¯ÇüÀ» ¹ÝȯÇÑ´Ù.

Returns:
Å°°ª À¯Çü
Since:
Gauce 2.9

setKeyType

public void setKeyType(int keyType)
Column¿¡ ´ëÇÑ Key À¯ÇüÀ» ¼³Á¤ÇÑ´Ù.

Parameters:
keyType - ¼³Á¤ÇÒ KeyÀ¯Çü
Since:
Gauce 2.9

getSize

public int getSize()
ColumnÀÇ size¸¦ ¹ÝȯÇÑ´Ù.

Returns:
column size
Since:
Gauce 2.9

setSize

public void setSize(int size)
Columnº¯¼öÀÇ ±æÀ̸¦ ¼³Á¤ÇÑ´Ù.

Parameters:
size - º¯¼öÀÇ ±æÀÌ
Since:
Gauce 2.9

getDec

public int getDec()
ColumnÀÇ decimal°ªÀÇ À¯ÇüÀ» ³ªÅ¸³½´Ù.

Returns:
column decimalÀ¯Çü
Since:
Gauce 2.9

setDec

public void setDec(int dec)
DecimalÇüÅÂÀÇ ¼Ò¼öÁ¡ ÀÌÇϺκÐÀÇ ±æÀ̸¦ ¼³Á¤ÇÑ´Ù.

Parameters:
dec - ¼Ò¼öÁ¡ÀÌÇÏÀÇ ±æÀÌ
Since:
Gauce 2.9

setRoundMode

public void setRoundMode(char roundMode)
¼Ò¼öÁ¡ÀÌÇÏ Ã³¸®À¯ÇüÀ» ¼³Á¤ÇÑ´Ù.

FLOORÀÌ¸é ¹ö¸², ROUNDÀÌ¸é ¹Ý¿Ã¸², CEILÀÌ¸é ¿Ã¸²À» ÇÑ´Ù.

Parameters:
roundMode - ¼Ò¼öÁ¡ÀÌÇÏ Ã³¸®À¯Çü
Since:
Gauce 2.9

getRoundMode

public char getRoundMode()
ÇöÀç ¼³Á¤µÈ ¼Ò¼öÁ¡ÀÌÇÏ Ã³¸®À¯ÇüÀ» ¹ÝȯÇÑ´Ù.

Returns:
¼Ò¼öÁ¡ÀÌÇÏ Ã³¸®À¯Çü (FLOOR, ROUND, CEIL)
Since:
Gauce 2.9