Enumeration

trait Enumeration[E] extends Companion[E]
trait Companion[E]
trait Has[E]
trait Key[E]
trait HasId
class Object
trait Matchable
class Any

Value members

Abstract methods

def to(e: E): (String, Int)
def values: List[E]

Concrete methods

final
def asString(e: E): String
final
def fromOrdinal(s: Int): Option[E]
final
def fromString(s: String): Option[E]

Inherited methods

final override
def getKey: Key[E]
Definition Classes
Inherited from
Companion
def identifier: String
Inherited from
HasId
def name: String
Inherited from
HasId
def namespace: String
Inherited from
HasId

Concrete fields

lazy
val ordinalMap: Map[Int, E]
lazy
val valueMap: Map[String, E]

Implicits

Inherited implicits

implicit
Inherited from
Companion