Class ColumnConfig

java.lang.Object
org.nervousync.database.beans.configs.column.ColumnConfig
All Implemented Interfaces:
Serializable

public final class ColumnConfig extends Object implements Serializable
Column config
Version:
$Revision : 1.0 $ $Date: Jun 27, 2018 $
Author:
Steven Wee wmkm0113@Hotmail.com
See Also:
  • Method Details

    • newInstance

      public static ColumnConfig newInstance(Field field, Object object, boolean primaryKeyColumn)
    • matchIdentifyKey

      public boolean matchIdentifyKey(String identifyName)
      Match identify key boolean.
      Parameters:
      identifyName - identify key to match
      Returns:
      the boolean
    • getSerialVersionUID

      public static long getSerialVersionUID()
      Gets serial version uid.
      Returns:
      the serial version uid
    • getLength

      public int getLength()
      Gets length.
      Returns:
      the length
    • getPrecision

      public int getPrecision()
      Gets precision.
      Returns:
      the precision
    • getScale

      public int getScale()
      Gets scale.
      Returns:
      the scale
    • getColumnName

      public String getColumnName()
      Gets column name.
      Returns:
      the column name
    • getFieldName

      public String getFieldName()
      Gets field name.
      Returns:
      the field name
    • getFieldType

      public Class<?> getFieldType()
      Gets field type.
      Returns:
      the field type
    • getJdbcType

      public int getJdbcType()
      Gets jdbc type.
      Returns:
      the jdbc type
    • getDefaultValue

      public Object getDefaultValue()
      Gets default value.
      Returns:
      the default value
    • isPrimaryKeyColumn

      public boolean isPrimaryKeyColumn()
      Is primary key column boolean.
      Returns:
      the boolean
    • isNullable

      public boolean isNullable()
      Is nullable boolean.
      Returns:
      the boolean
    • isUpdatable

      public boolean isUpdatable()
      Is updatable boolean.
      Returns:
      the boolean
    • isUnique

      public boolean isUnique()
      Is unique boolean.
      Returns:
      the boolean
    • isLazyLoad

      public boolean isLazyLoad()
      Is lazy load boolean.
      Returns:
      the boolean
    • isIdentifyVersion

      public boolean isIdentifyVersion()
      Is identify version boolean.
      Returns:
      the boolean
    • getParserClass

      public Class<? extends AbstractDataParser> getParserClass()
    • getGeneratorConfig

      public GeneratorConfig getGeneratorConfig()
      Gets generator config.
      Returns:
      the generator config