Class/Object

ai.deepsense.deeplang.params.choice

ChoiceParam

Related Docs: object ChoiceParam | package choice

Permalink

class ChoiceParam[T <: Choice] extends AbstractChoiceParam[T, T]

Linear Supertypes
AbstractChoiceParam[T, T], Param[T], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ChoiceParam
  2. AbstractChoiceParam
  3. Param
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ChoiceParam(name: String, description: Option[String])(implicit tag: scala.reflect.api.JavaUniverse.TypeTag[T])

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def ->(value: T): ParamPair[T]

    Permalink
    Definition Classes
    Param
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def canEqual(other: Any): Boolean

    Permalink
    Definition Classes
    Param
  7. def choiceFromJson(chosenLabel: String, jsValue: JsValue, graphReader: GraphReader): T

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractChoiceParam
  8. val choiceInstances: Seq[T]

    Permalink
    Definition Classes
    AbstractChoiceParam
  9. lazy val choiceInstancesByName: Map[String, T]

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractChoiceParam
  10. def choiceToJson(value: T): JsObject

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractChoiceParam
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def constraints: String

    Permalink
    Definition Classes
    Param
  13. val description: Option[String]

    Permalink
    Definition Classes
    ChoiceParamParam
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(other: Any): Boolean

    Permalink
    Definition Classes
    Param → AnyRef → Any
  16. def extraJsFields: Map[String, JsValue]

    Permalink

    Subclasses should overwrite this method if they want to add custom fields to json description.

    Subclasses should overwrite this method if they want to add custom fields to json description.

    Definition Classes
    AbstractChoiceParamParam
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Permalink
    Definition Classes
    Param → AnyRef → Any
  20. val isGriddable: Boolean

    Permalink
    Definition Classes
    Param
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. val name: String

    Permalink
    Definition Classes
    ChoiceParamParam
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  26. val parameterType: ParameterType.Value

    Permalink
    Definition Classes
    ChoiceParamParam
  27. def replicate(name: String): ChoiceParam[T]

    Permalink

    Used to extract public parameters in custom transformer.

    Used to extract public parameters in custom transformer.

    name

    name of replicated parameter

    returns

    replicated parameter

    Definition Classes
    ChoiceParamParam
  28. def serializeDefault(choice: T): JsValue

    Permalink

    Describes default serialization of default values.

    Describes default serialization of default values.

    Attributes
    protected
    Definition Classes
    ChoiceParamParam
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. final def toJson(maybeDefault: Option[Any]): JsObject

    Permalink

    Describes json representation of this parameter.

    Describes json representation of this parameter.

    maybeDefault

    Optional default value of parameter. Should be of type Option[T], but we need to receive Any because Params have to use this method without knowing T.

    Definition Classes
    Param
  31. def toString(): String

    Permalink
    Definition Classes
    Param → AnyRef → Any
  32. def validate(value: T): Vector[DeepLangException]

    Permalink
    Definition Classes
    ChoiceParamParam
  33. def valueFromJsMap(jsMap: Map[String, JsValue], graphReader: GraphReader): T

    Permalink
    Attributes
    protected
    Definition Classes
    ChoiceParamAbstractChoiceParam
  34. def valueFromJson(jsValue: JsValue, graphReader: GraphReader): T

    Permalink
    Definition Classes
    AbstractChoiceParamParam
  35. def valueToJson(value: T): JsValue

    Permalink
    Definition Classes
    ChoiceParamParam
  36. final def wait(): Unit

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

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

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

Inherited from AbstractChoiceParam[T, T]

Inherited from Param[T]

Inherited from AnyRef

Inherited from Any

Ungrouped