All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hyperscala.ui.widgets.vs.VisualSearchQuery.scala Maven / Gradle / Ivy

The newest version!
package org.hyperscala.ui.widgets.vs

/**
 * @author Matt Hicks 
 */
case class VisualSearchQuery(query: String = "", entries: List[VisualSearchEntry] = Nil) {
  def values(facet: String) = entries.collect {
    case vse if (vse.facet.map(f => f.name).getOrElse(null) == facet) => vse.value
  }

  lazy val textValue = values(null).headOption
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy