enumeratum

EnumHandler

object EnumHandler

Holds BSON reader and writer for enumeratum.Enum

Annotations
@SuppressWarnings()
Since

2016-04-23

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. EnumHandler
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def handler[A <: EnumEntry](enum: Enum[A], insensitive: Boolean = false): BSONHandler[BSONValue, A]

    Returns a BSONHandler for a given enum Enum

    Returns a BSONHandler for a given enum Enum

    enum

    The enum

    insensitive

    bind in a case-insensitive way, defaults to false

  13. def handlerLowercaseOnly[A <: EnumEntry](enum: Enum[A]): BSONHandler[BSONValue, A]

    Returns a BSONHandler for a given enum Enum, handling a lower case transformation

    Returns a BSONHandler for a given enum Enum, handling a lower case transformation

    enum

    The enum

  14. def handlerUppercaseOnly[A <: EnumEntry](enum: Enum[A]): BSONHandler[BSONValue, A]

    Returns a BSONHandler for a given enum Enum, handling an upper case transformation

    Returns a BSONHandler for a given enum Enum, handling an upper case transformation

    enum

    The enum

  15. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. def reader[A <: EnumEntry](enum: Enum[A], insensitive: Boolean = false): BSONReader[BSONValue, A]

    Returns a BSONReader for a given enum Enum

    Returns a BSONReader for a given enum Enum

    enum

    The enum

    insensitive

    bind in a case-insensitive way, defaults to false

  21. def readerLowercaseOnly[A <: EnumEntry](enum: Enum[A]): BSONReader[BSONValue, A]

    Returns a BSONReader for a given enum Enum transformed to lower case

    Returns a BSONReader for a given enum Enum transformed to lower case

    enum

    The enum

  22. def readerUppercaseOnly[A <: EnumEntry](enum: Enum[A]): BSONReader[BSONValue, A]

    Returns a BSONReader for a given enum Enum transformed to upper case

    Returns a BSONReader for a given enum Enum transformed to upper case

    enum

    The enum

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def toString(): String

    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. def writer[A <: EnumEntry](enum: Enum[A]): BSONWriter[A, BSONValue]

    Returns a BSONWriter for a given enum Enum

  29. def writerLowercase[A <: EnumEntry](enum: Enum[A]): BSONWriter[A, BSONValue]

    Returns a BSONWriter for a given enum Enum, outputting the value as lower case

  30. def writerUppercase[A <: EnumEntry](enum: Enum[A]): BSONWriter[A, BSONValue]

    Returns a BSONWriter for a given enum Enum, outputting the value as upper case

Inherited from AnyRef

Inherited from Any

Ungrouped