FullName

reactivemongo.api.bson.TypeNaming$.FullName$
object FullName extends TypeNaming

Uses the class fully qualified name (e.g. java.lang.String).

The package naming must be stable (or would require data migrations).

Attributes

Graph
Supertypes
trait Class[_] => String
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def apply(tpe: Class[_]): String

Returns the name for the given type.

Returns the name for the given type.

import scala.reflect.ClassTag

import reactivemongo.api.bson.TypeNaming

def foo[T](n: TypeNaming)(implicit ct: ClassTag[T]): String =
 n(ct.runtimeClass)

Attributes

Inherited methods

Composes the naming with the given function f, applied on the first result.

Composes the naming with the given function f, applied on the first result.

import reactivemongo.api.bson.TypeNaming

val tpeNaming: TypeNaming =
 TypeNaming.SimpleName.andThen(_.toLowerCase)

Attributes

Inherited from:
TypeNaming
def andThen[A](g: String => A): T1 => A

Attributes

Inherited from:
Function1
def compose[A](g: A => Class[_]): A => R

Attributes

Inherited from:
Function1
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Function1 -> Any
Inherited from:
Function1