Class

com.knockdata.spark.highcharts.base

BaseModel

Related Doc: package base

Permalink

abstract class BaseModel extends IModel

Linear Supertypes
IModel, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BaseModel
  2. IModel
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BaseModel()

    Permalink

Abstract Value Members

  1. abstract def fieldName: String

    Permalink
    Definition Classes
    IModel

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 append(fieldName: String, subFieldName: String, subFieldValue: Any): BaseModel.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    BaseModelIModel
  5. def append(name: String, value: Any): BaseModel.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    BaseModelIModel
  6. def append(field: JField): BaseModel.this.type

    Permalink

    append a JField, it's the main entry

    append a JField, it's the main entry

    Attributes
    protected
    Definition Classes
    BaseModelIModel
  7. def appendSubItems(): Unit

    Permalink

    append all sub items to the result.

    append all sub items to the result.

    The sub items has to be in objects. That's it can only be done before all data is ready

    Attributes
    protected
  8. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val codes: Map[String, String]

    Permalink

    Store code temporary since code is not valid JSON so put Stakeholder first, after everything created as String just before substitute it with real code

    Store code temporary since code is not valid JSON so put Stakeholder first, after everything created as String just before substitute it with real code

    s"--$$fieldName-$$codeMD5--" -> Real JavaScript code

  11. def compactJson: String

    Permalink
  12. lazy val compactReplaced: String

    Permalink
  13. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def expect(actual: Any, options: Any*): Unit

    Permalink
  16. val fields: ListBuffer[JField]

    Permalink

    store or fields which will be put into the result JObject

  17. val fieldsNames: Set[String]

    Permalink

    used to reported problem if the same fields add twice

  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. implicit val formats: DefaultFormats.type

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

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

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

    Permalink
    Definition Classes
    Any
  23. lazy val json: String

    Permalink
  24. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  27. def placeholdCode(code: Code): String

    Permalink
    Attributes
    protected
  28. def placeholdCode(code: String): String

    Permalink
    Attributes
    protected
  29. def postProcessResult(jobj: JObject): JObject

    Permalink
    Attributes
    protected
  30. def preProcessResult(): Unit

    Permalink
    Attributes
    protected
  31. lazy val replaced: String

    Permalink
  32. lazy val result: JObject

    Permalink

    Lazy evaluate the result.

    Lazy evaluate the result.

    1. preProcessResult 2. create JObject 3. postProcessResult

  33. val subFields: LinkedHashMap[String, List[(String, Any)]]

    Permalink

    each Model, two levels of fields are supported

    each Model, two levels of fields are supported

    [fieldName, List[(subFieldName, subFieldValue)]

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

    Permalink
    Definition Classes
    AnyRef
  35. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  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 IModel

Inherited from AnyRef

Inherited from Any

Ungrouped