类 FieldMeta
- java.lang.Object
-
- org.sagacity.sqltoy.config.model.FieldMeta
-
- 所有已实现的接口:
Serializable
public class FieldMeta extends Object implements Serializable
- 版本:
- v1.0,Date:2012-6-1
- 作者:
- zhongxuchen
- 另请参阅:
- 序列化表格
-
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetColumnName()StringgetColumnOptName()StringgetDefaultValue()StringgetFieldName()StringgetFieldType()intgetLength()StringgetNativeType()intgetPrecision()intgetScale()intgetType()booleanisAutoIncrement()booleanisKeyword()booleanisNullable()booleanisPartitionKey()booleanisPK()voidsetAutoIncrement(boolean autoIncrement)voidsetColumnName(String columnName)voidsetDefaultValue(String defaultValue)voidsetFieldName(String fieldName)voidsetFieldType(String fieldType)voidsetKeyword(boolean keyword)voidsetLength(int length)voidsetNativeType(String nativeType)voidsetNullable(boolean nullable)voidsetPartitionKey(boolean partitionKey)voidsetPK(boolean isPK)voidsetPrecision(int precision)voidsetScale(int scale)voidsetType(int type)
-
-
-
方法详细资料
-
isAutoIncrement
public boolean isAutoIncrement()
- 返回:
- the autoIncrement
-
setAutoIncrement
public void setAutoIncrement(boolean autoIncrement)
- 参数:
autoIncrement- the autoIncrement to set
-
getType
public int getType()
- 返回:
- the type
-
setType
public void setType(int type)
- 参数:
type- the type to set
-
getFieldName
public String getFieldName()
- 返回:
- the fieldName
-
setFieldName
public void setFieldName(String fieldName)
- 参数:
fieldName- the fieldName to set
-
getColumnName
public String getColumnName()
- 返回:
- the columnName
-
setColumnName
public void setColumnName(String columnName)
- 参数:
columnName- the columnName to set
-
getColumnOptName
public String getColumnOptName()
- 返回:
-
isNullable
public boolean isNullable()
- 返回:
- the nullable
-
setNullable
public void setNullable(boolean nullable)
- 参数:
nullable- the nullable to set
-
getLength
public int getLength()
- 返回:
- the length
-
setLength
public void setLength(int length)
- 参数:
length- the length to set
-
getPrecision
public int getPrecision()
- 返回:
- the precision
-
setPrecision
public void setPrecision(int precision)
- 参数:
precision- the precision to set
-
getScale
public int getScale()
- 返回:
- the scale
-
setScale
public void setScale(int scale)
- 参数:
scale- the scale to set
-
isPK
public boolean isPK()
-
setPK
public void setPK(boolean isPK)
-
getDefaultValue
public String getDefaultValue()
- 返回:
- the defaultValue
-
setDefaultValue
public void setDefaultValue(String defaultValue)
- 参数:
defaultValue- the defaultValue to set
-
isKeyword
public boolean isKeyword()
- 返回:
- the keyword
-
setKeyword
public void setKeyword(boolean keyword)
- 参数:
keyword- the keyword to set
-
getFieldType
public String getFieldType()
-
setFieldType
public void setFieldType(String fieldType)
-
isPartitionKey
public boolean isPartitionKey()
- 返回:
- the partitionKey
-
setPartitionKey
public void setPartitionKey(boolean partitionKey)
- 参数:
partitionKey- the partitionKey to set
-
getNativeType
public String getNativeType()
-
setNativeType
public void setNativeType(String nativeType)
-
-