AbstractSourceCodePrimaryKeyDef

slick.codegen.AbstractSourceCodeGenerator.AbstractSourceCodeTableDef.AbstractSourceCodePrimaryKeyDef
class AbstractSourceCodePrimaryKeyDef(model: PrimaryKey) extends AbstractPrimaryKeyDef

Attributes

Source
AbstractSourceCodeGenerator.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait AbstractDef
class Object
trait Matchable
class Any
Show all

Members list

Grouped members

Basic customization overrides

def code: String

Scala code

Scala code

Attributes

Source
AbstractSourceCodeGenerator.scala
def doc: String

Scala doc comment

Scala doc comment

Attributes

Inherited from:
AbstractPrimaryKeyDef
Source
AbstractGenerator.scala
def enabled: Boolean

Indicates whether this will be included in the generated code

Indicates whether this will be included in the generated code

Attributes

Inherited from:
AbstractDef
Source
AbstractGenerator.scala
def rawName: String

Name as desired in Scala Code. (Allowed to collide with Scala keywords. Will be automatically escaped.)

Name as desired in Scala Code. (Allowed to collide with Scala keywords. Will be automatically escaped.)

Attributes

Inherited from:
AbstractPrimaryKeyDef
Source
AbstractGenerator.scala

Value members

Inherited methods

def dbName: String

Name used in the db or a default name

Name used in the db or a default name

Attributes

Inherited from:
AbstractPrimaryKeyDef
Source
AbstractGenerator.scala
def disambiguateTerm(name: String, postfix: String): String

Adds one or more X to the end of the given string to avoid collisions with column names.

Adds one or more X to the end of the given string to avoid collisions with column names.

Attributes

Inherited from:
AbstractTermDef
Source
AbstractGenerator.scala
override def docWithCode: Code

Scala doc comment with code

Scala doc comment with code

Attributes

Definition Classes
Inherited from:
AbstractTermDef
Source
AbstractGenerator.scala
final def getEnabled: Option[AbstractDef]

Returns Some(this) if enabled else None

Returns Some(this) if enabled else None

Attributes

Inherited from:
AbstractDef
Source
AbstractGenerator.scala
final def name: TermName

Name (escaped if colliding with Scala keyword).

Name (escaped if colliding with Scala keyword).

Attributes

Inherited from:
AbstractTermDef
Source
AbstractGenerator.scala
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Inherited fields

final lazy val columns: Seq[Column]

Columns code generators in correct order

Columns code generators in correct order

Attributes

Inherited from:
AbstractPrimaryKeyDef
Source
AbstractGenerator.scala