Name

org.finos.morphir.NameModule.Name
See theName companion class
object Name

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Name.type

Members list

Type members

Classlikes

object VariableName

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(first: String, rest: String*): Name
def fromIterable(iterable: Iterable[String]): Name
def fromList(list: List[String]): Name

Converts a list of strings into a name. NOTE: When this function is used, the strings are used as is to construct the name, and don't go through any processing. This behavior is desired here as it is consistent with Morphir's semantics for this function as defined in the morphir-elm project.

Converts a list of strings into a name. NOTE: When this function is used, the strings are used as is to construct the name, and don't go through any processing. This behavior is desired here as it is consistent with Morphir's semantics for this function as defined in the morphir-elm project.

Attributes

def fromList(list: String*): Name

Converts a list of strings into a name. NOTE: When this function is used, the strings are used as is to construct the name, and don't go through any processing. This behavior is desired here as it is consistent with Morphir's semantics for this function as defined in the morphir-elm project.

Converts a list of strings into a name. NOTE: When this function is used, the strings are used as is to construct the name, and don't go through any processing. This behavior is desired here as it is consistent with Morphir's semantics for this function as defined in the morphir-elm project.

Attributes

def fromString(str: String): Name
def toCamelCase(name: Name): String
def toHumanWords(name: Name): List[String]
def toKebabCase(name: Name): String
def toList(name: Name): List[String]
def toSnakeCase(name: Name): String
def toTitleCase(name: Name): String

Concrete fields

val empty: Name