Class

scalut.scala

Enum

Related Doc: package scala

Permalink

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()

    Permalink

Type Members

  1. class EnumValueImpl extends KeyValueImpl[TId, TValue] with EnumValue

    Permalink
    Attributes
    protected
  2. type TId = Int

    Permalink
    Attributes
    protected
  3. type TValue = String

    Permalink
    Attributes
    protected
  4. abstract type Type <: EnumValue

    Permalink

    Для всех производных классов от 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

    Permalink
    Attributes
    protected

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(name: TValue): Type

    Permalink
  5. def apply(id: TId): Type

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val enumValues: ListBuffer[Type]

    Permalink
    Attributes
    protected
  9. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def get(id: TId, defaultValue: ⇒ Type): Type

    Permalink
  13. def get(id: TId): Option[Type]

    Permalink
  14. def getByName(name: TValue, defaultValue: ⇒ Type): Type

    Permalink
  15. def getByName(name: TValue): Option[Type]

    Permalink
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def getOrCreate(id: TId, name: ⇒ TValue = null.asInstanceOf[TValue]): Type

    Permalink
  18. def getOwnerClass: Class[_]

    Permalink
    Attributes
    protected
  19. def hashCode(): Int

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

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

    Permalink
    Definition Classes
    AnyRef
  22. def newValue(owner: AnyRef, id: TId, name: TValue): Type

    Permalink
  23. def newValue(id: TId, name: TValue = null.asInstanceOf[TValue]): Type

    Permalink
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. def owner: AnyRef

    Permalink

    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

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

    Permalink
    Definition Classes
    AnyRef
  29. def toString(value: Type): String

    Permalink
  30. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  31. def values: Seq[Type]

    Permalink
  32. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from EnumKeyValue

Inherited from AnyRef

Inherited from Any

Ungrouped