abstract class Enum extends EnumKeyValue with Serializable

See also default implementation EnumImpl.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Enum
  2. Serializable
  3. Serializable
  4. EnumKeyValue
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Enum()

Type Members

  1. class EnumValueImpl extends KeyValueImpl[TId, TValue] with EnumValue
    Attributes
    protected
  2. type TId = Int
    Attributes
    protected
  3. type TValue = String
    Attributes
    protected
  4. abstract type Type <: EnumValue

    Для всех производных классов от Enum, Type будет уникальным для каждого.

    Для всех производных классов от Enum, Type будет уникальным для каждого. Для этого EnumValue должен быть внутренним классом Enum.

    Definition Classes
    EnumEnumKeyValue

Abstract Value Members

  1. abstract def createNewValue(owner: AnyRef, id: TId, name: TValue = null.asInstanceOf[TValue]): Type
    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(name: TValue): Type
  5. def apply(id: TId): Type
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val enumValues: ListBuffer[Type]
    Attributes
    protected
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def get(id: TId, defaultValue: ⇒ Type): Type
  13. def get(id: TId): Option[Type]
  14. def getByName(name: TValue, defaultValue: ⇒ Type): Type
  15. def getByName(name: TValue): Option[Type]
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  17. def getOrCreate(id: TId, name: ⇒ TValue = null.asInstanceOf[TValue]): Type
  18. def getOwnerClass: Class[_]
    Attributes
    protected
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def newValue(owner: AnyRef, id: TId, name: TValue): Type
  23. def newValue(id: TId, name: TValue = null.asInstanceOf[TValue]): Type
  24. final def notify(): Unit
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  26. def owner: AnyRef

    Used for printing expected class name for enum value.

    Used for printing expected class name for enum value. Useful when you have singleton (object) for creating all enum values which uses in other objects. For example, scalut.common.State as creator and HttpState as user of created states.

    Attributes
    protected
  27. def size: Int
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(value: Type): String
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. def values: Seq[Type]
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from EnumKeyValue

Inherited from AnyRef

Inherited from Any

Ungrouped