com.imageworks.migration

ColumnDefinition

abstract class ColumnDefinition extends AnyRef

Abstract base class for the definition of a column type. It stores all the information for the column type, e.g. if it supports a default value, if it supports a limit on the range of values it can hold, etc.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ColumnDefinition
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ColumnDefinition()

Abstract Value Members

  1. abstract def sql: String

    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. var adapterOpt: Option[DatabaseAdapter]

    The database adapter associated with this column definition, which may or may not be set.

    The database adapter associated with this column definition, which may or may not be set.

    Attributes
    protected[com.imageworks.migration]
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. var columnNameOpt: Option[String]

    The column's name, which may or may not be set.

    The column's name, which may or may not be set.

    Attributes
    protected[com.imageworks.migration]
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def getAdapter: DatabaseAdapter

    The database adapter associated with this column definition.

    The database adapter associated with this column definition.

    returns

    the database adapter associated with this column definition

    Attributes
    protected[com.imageworks.migration]
    Exceptions thrown
    java.util.NoSuchElementException

    if the database adapter has not been associated with this column definition

  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def getColumnName: String

    Get the column's name.

    Get the column's name.

    returns

    the column name

    Attributes
    protected[com.imageworks.migration]
    Exceptions thrown
    java.util.NoSuchElementException

    if the column name has not been set

  16. def getTableName: String

    Get the table name the column is defined in.

    Get the table name the column is defined in.

    returns

    the table name the column is defined in

    Attributes
    protected[com.imageworks.migration]
    Exceptions thrown
    java.util.NoSuchElementException

    if the table name has not been set

  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. def initialize(): Unit

    Called after the above properties have been wired.

  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. def limit: Option[String]

    Get the limit for the column.

    Get the limit for the column.

    Attributes
    protected
  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. var options: List[ColumnOption]

    Column options.

    Column options.

    Attributes
    protected[com.imageworks.migration]
  25. def precision: Option[Int]

    Get the precision for the column.

  26. def scale: Option[Int]

    Get the scale for the column.

  27. def sqlForColumnType(column_type_name: String): String

    Format a column definition respecting the limit on the column definition.

    Format a column definition respecting the limit on the column definition.

    column_type_name

    the column type name

    returns

    the column type name with the limit syntax if the column definition specifies a limit

  28. def sqlForColumnType(column_type_name: String, limit_opt: Option[String]): String

    Format a column definition respecting the given limit.

    Format a column definition respecting the given limit.

    column_type_name

    the column type name

    limit_opt

    optional column limit

    returns

    the column type name with the limit syntax if a limit was given

  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. var tableNameOpt: Option[String]

    The table name the column is defined in, which may or may not be set.

    The table name the column is defined in, which may or may not be set.

    Attributes
    protected[com.imageworks.migration]
  31. final def toSql: String

  32. def toString(): String

    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  34. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  35. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any

Ungrouped