Packages

case class Enum[T](possibleValues: List[T], encode: Option[EncodeToRaw[T]]) extends Primitive[T] with scala.Product with Serializable

Linear Supertypes
Serializable, Serializable, scala.Product, Equals, Primitive[T], Single[T], Validator[T], AnyRef, scala.Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Enum
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Primitive
  7. Single
  8. Validator
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Enum(possibleValues: List[T], encode: Option[EncodeToRaw[T]])

Value Members

  1. final def !=(arg0: scala.Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: scala.Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def and(other: Validator[T]): Validator[T]
    Definition Classes
    Validator
  5. def asArrayElements: Validator[Array[T]]
    Definition Classes
    Validator
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def asIterableElements[C[X] <: Iterable[X]]: Validator[C[T]]
    Definition Classes
    Validator
  8. def asOptionElement: Validator[Option[T]]
    Definition Classes
    Validator
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  10. def contramap[TT](g: (TT) ⇒ T): Validator[TT]
    Definition Classes
    Validator
  11. def encode(e: (T) ⇒ scala.Any): Enum[T]

    Specify how values of this type can be encoded to a raw value (typically a String).

    Specify how values of this type can be encoded to a raw value (typically a String). This encoding will be used when generating documentation.

  12. val encode: Option[EncodeToRaw[T]]
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def or(other: Validator[T]): Validator[T]
    Definition Classes
    Validator
  20. val possibleValues: List[T]
  21. def show: Option[String]
    Definition Classes
    Validator
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def validate(t: T): List[ValidationError[_]]
    Definition Classes
    EnumValidator
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from scala.Product

Inherited from Equals

Inherited from Primitive[T]

Inherited from Single[T]

Inherited from Validator[T]

Inherited from AnyRef

Inherited from scala.Any

Ungrouped