Autogenerator

object Autogenerator extends Commonish with Logging with FileUtils with JavaGenerator
trait FileUtils
trait FileUtils
trait Logging
trait Commonish
class Object
trait Matchable
class Any

Value members

Concrete methods

def expandModel(s: SourceFile): (Boolean, (SourceFile, Option[String], Option[String]))
def foldElements(seq: Vector[ElementDefinition], permitRecurse: Boolean): DAG[ElementWithSlices]
def genFieldsForClass(resourceModel: SourceFile, basefields: Map[String, Map[String, TopLevelClass]], fetchValueSet: (String, BINDING_STRENGTH) => Option[CodeValueSet]): TopLevelClass
def generateAndWriteOutput(args: MainArgs, extensions: Map[String, Seq[ClassGenInfo]], fetchValueSet: (String, BINDING_STRENGTH) => Option[CodeValueSet]): Unit
def getStrings(args: MainArgs, extensions: Map[String, Seq[ClassGenInfo]], fetchValueSet: (String, BINDING_STRENGTH) => Option[CodeValueSet]): AllGeneratedFiles
def sortLocationsByBase(modelOverrides: Seq[SourceFile], resourceModels: Seq[SourceFile]): Seq[SourceFile]

Inherited methods

def choiceClassName(f: BaseField): String
Inherited from:
JavaGenerator
def emptyCreate(dirName: String): Unit
Inherited from:
FileUtils
def expandGlob(filePathWithGlob: String): IO[Seq[File]]
Inherited from:
FileUtils
def genTheJavaForClass(topLevelClass: TopLevelClass, packageStr: String, pkg: String, valueSets: ValueSetDecls, moduleDependencies: ModuleDependencies, javaSuffix: String, unionTypes: Map[Seq[String], String]): Seq[ClassGenInfo]
Inherited from:
JavaGenerator
def generateCodeAliases(pkg: String, javaSuffix: String, valueSets: Map[String, CodeValueSet]): Seq[ClassGenInfo]
Inherited from:
JavaGenerator
def generateModelFile(pkg: String, javaSuffix: String, unionTypes: Map[String, Seq[String]]): ClassGenInfo
Inherited from:
JavaGenerator
def generatedClassNameToScala(s: String): String
Inherited from:
JavaGenerator
def genereteCodeAlias(pkg: String, javaSuffix: String, name: String, values: NonEmptyLitSeq[CodeEnum]): ClassGenInfo
Inherited from:
JavaGenerator
def getAsJson(filename: String): Json
Inherited from:
FileUtils
def getFileAsJson(file: File): Json
Inherited from:
FileUtils
def inverseTypeLookup(s: String): String
Inherited from:
Commonish
def isPrimitiveSuffix(s: String): Boolean
Inherited from:
Commonish
def javaEnum(e: String): String
Inherited from:
JavaGenerator
def rscStream(s: String): BufferedSource
Inherited from:
FileUtils
def scalaEnum(enumName: String, s: String): String
Inherited from:
JavaGenerator
def shoutySnakeToPascalCase(s: String): String
Inherited from:
JavaGenerator
def slurpRsc(s: String): String
Inherited from:
FileUtils
def sortIsh[T1](coll: Seq[(T1, String, Option[String])], indexer: T1 => Int): Seq[(T1, String, Option[String])]
Inherited from:
Commonish
def typeLookdown(s: String): String
Inherited from:
Commonish
def typeLookup(s: String): String
Inherited from:
Commonish
def write(location: String, contents: String): Unit
Inherited from:
FileUtils

Concrete fields

Inherited fields

Inherited from:
Commonish
val fhirSystemType: Regex
Inherited from:
Commonish
protected val log: Logger
Inherited from:
Logging