AbstractTypeDef

slick.codegen.AbstractGenerator.AbstractTableDef.AbstractTypeDef

Common interface for definitions that define a type (class, case class, ...) within the generated code

Attributes

Source:
AbstractGenerator.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Basic customization overrides

def code: Code

Scala code

Scala code

Attributes

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

Scala doc comment

Scala doc comment

Attributes

Inherited from:
AbstractDef
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 parents: Seq[Code]

Inherited traits.

Inherited traits.

Attributes

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:
AbstractDef
Source:
AbstractGenerator.scala

Value members

Concrete methods

final def name: TypeName

Name (escaped if colliding with Scala keyword).

Name (escaped if colliding with Scala keyword).

Attributes

Source:
AbstractGenerator.scala

Inherited methods

def docWithCode: Code

Scala doc comment with code

Scala doc comment with code

Attributes

Inherited from:
AbstractDef
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