Enumeration

trait Enumeration[E] extends Companion[E]
trait Companion[E]
trait Has[E]
trait ShapeTag[E]
trait HasId
class Object
trait Matchable
class Any
object Error.type
object TimestampFormat.type
object AcceptorState.type
object PathComparator.type

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 getTag: ShapeTag[E]
Definition Classes
Inherited from:
Companion
def id: ShapeId
Inherited from:
HasId

Concrete fields

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

Implicits

Inherited implicits

implicit val tagInstance: ShapeTag[E]
Inherited from:
Companion