Package

models

Permalink

package models

Visibility
  1. Public
  2. All

Type Members

  1. case class CategoryModel(id: Int = 0, name: String, detail_type: String) extends Product with Serializable

    Permalink

    Categories are used to represent the type of graphs to show in the detail page in Geodashboard v3 The name will be the title of the tab where the data associated with the category is displayed The detail_type is the type of graph in the UI, it could be (time, stacked-line, stacked-bar)

    Categories are used to represent the type of graphs to show in the detail page in Geodashboard v3 The name will be the title of the tab where the data associated with the category is displayed The detail_type is the type of graph in the UI, it could be (time, stacked-line, stacked-bar)

    name

    - to show as title of a tab in the detail page

    detail_type

    - determines the type of graph to show in the UI

  2. case class CategoryParameterMapping(id: Int = 0, parameter_id: Int, category_id: Int) extends Product with Serializable

    Permalink

    Mappings between a parameter and a category To add a new mapping, the category and parameter should both exist All mappings associated with a parameter are deleted upon parameter deletion.

    Mappings between a parameter and a category To add a new mapping, the category and parameter should both exist All mappings associated with a parameter are deleted upon parameter deletion.

    This is used for allowing the same parameter to show up on more than one tab or with different representations For example, alkalinity can be in both a stacked-line graph and a time series graph or Alkalinity could show up as time series in two categories/tabs: Contaminants and Nutrients

    parameter_id

    - must exist in the database, foreign key to parameter table id

    category_id

    - must exist in the database, foreign key to category table id

  3. case class DatapointModel(start_time: String, end_time: Option[String], geoType: String, geometry: GeometryModel, properties: JsValue, stream_id: Int, sensor_id: Int = 0, sensor_name: String = "N/A") extends Product with Serializable

    Permalink

    Datapoint model.

    Datapoint model. The default field will be created by database

  4. case class GeometryModel(type: String, coordinates: JsValue) extends Product with Serializable

    Permalink
  5. case class MailTokenUser(id: String, email: String, expirationTime: DateTime, isSignUp: Boolean) extends MailToken with Product with Serializable

    Permalink
  6. case class ParameterModel(id: Int = 0, name: String, title: String, unit: String, search_view: Boolean, explore_view: Boolean, scale_names: List[String], scale_colors: List[String]) extends Product with Serializable

    Permalink

    Parameters are types of data stored in datapoints for which there is data associated.

    Parameters are types of data stored in datapoints for which there is data associated. This elements provides additional information about the parameter than the short name in the datapoints It provides a longer title, the unit, information to show up on the search and explore views, names and colors for stacked-bar graphs that could be used for other stacked graphs.

    name

    - Needs to be unique. A short version of the title

    title

    - title for the parameter

    unit

    - Unit for the data

    search_view

    - boolean indicates whether the parameter will show up as a parameter in the search page

    explore_view

    - boolean indicates whether the parameter will show up in the popup on the explore page

    scale_names

    [Optional] Used for representing category names in stacked-bar graphs

    scale_colors

    [Optional] Used for representing category colors in stacked-bar graphs

  7. case class RegionModel(type: String, geometry: GeometryModel, properties: JsValue) extends Product with Serializable

    Permalink

    Region model.

    Region model. The default field will be created by database

  8. case class SensorModel(id: Int = 0, name: String, created: String = "N/A", geoType: String, geometry: GeometryModel, properties: JsValue, min_start_time: String, max_end_time: String, parameters: List[String] = List()) extends Product with Serializable

    Permalink

    Sensor model.

    Sensor model. The default field will be created by database

  9. case class SignInData(identifier: String, password: String, rememberMe: Boolean, fromURL: String) extends Product with Serializable

    Permalink
  10. case class StreamModel(id: Int = 0, name: String, created: String = "N/A", geoType: String, geometry: GeometryModel, properties: JsValue, sensor_id: Int, start_time: String, end_time: String, parameters: List[String] = List()) extends Product with Serializable

    Permalink

    Stream model.

    Stream model. The default field will be created by database

  11. case class User(id: Option[Int], email: String, emailconfirmed: Boolean, password: String, first_name: String, last_name: String, organization: String, services: List[String]) extends IdentitySilhouette with Product with Serializable

    Permalink

Value Members

  1. object CategoryModel extends Serializable

    Permalink
  2. object CategoryParameterMapping extends Serializable

    Permalink
  3. object DatapointModel extends Serializable

    Permalink
  4. object GeometryModel extends Serializable

    Permalink
  5. object MailTokenUser extends Serializable

    Permalink
  6. object ParameterModel extends Serializable

    Permalink
  7. object RegionModel extends Serializable

    Permalink
  8. object SensorModel extends Serializable

    Permalink
  9. object StreamModel extends Serializable

    Permalink
  10. object User extends Serializable

    Permalink

Ungrouped