Packages

class CodeGen extends AnyRef

Generates a domain model for OverflowDb traversals for a given domain-specific schema.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CodeGen
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CodeGen(schema: Schema)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val basePackage: String
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def disableScalafmt: CodeGen.this.type
  8. val edgesPackage: String
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def neighborAccessorNameForEdge(edge: EdgeType, direction: schema.Direction.Value): String
    Attributes
    protected
  17. val nodesPackage: String
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def run(outputDir: File): Seq[File]
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. val traversalsPackage: String
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  27. def warnForDuplicatePropertyDefinitions(): Unit
    Attributes
    protected
  28. def withScalafmtConfig(file: File): CodeGen.this.type

    replace entire default scalafmt config (from Formatter.defaultScalafmtConfig) with custom config

  29. def writeConstants(outputDir: File): Seq[File]
    Attributes
    protected
  30. def writeEdgeFiles(outputDir: File): Seq[File]
    Attributes
    protected
  31. def writeNewNodeFile(outputDir: File): File

    generates classes to easily add new nodes to the graph this ability could have been added to the existing nodes, but it turned out as a different specialisation, since e.g.

    generates classes to easily add new nodes to the graph this ability could have been added to the existing nodes, but it turned out as a different specialisation, since e.g. id is not set before adding it to the graph

    Attributes
    protected
  32. def writeNodeFiles(outputDir: File): Seq[File]
    Attributes
    protected
  33. def writeNodeTraversalFiles(outputDir: File): Seq[File]
    Attributes
    protected
  34. def writeStarters(outputDir: File): Seq[File]
    Attributes
    protected

Inherited from AnyRef

Inherited from Any

Ungrouped