AbstractDef

slick.codegen.AbstractGenerator.AbstractTableDef.AbstractDef

Common interface for any kind of definition 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

Source:
AbstractGenerator.scala
def doc: String

Scala doc comment

Scala doc comment

Attributes

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

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

Source:
AbstractGenerator.scala

Value members

Concrete methods

def docWithCode: Code

Scala doc comment with code

Scala doc comment with code

Attributes

Source:
AbstractGenerator.scala
final def getEnabled: Option[AbstractDef]

Returns Some(this) if enabled else None

Returns Some(this) if enabled else None

Attributes

Source:
AbstractGenerator.scala