final case class Field[+P](path: FieldPath, value: P) extends Product with Serializable
jap.fields.Field is heart of the library and contains jap.fields.FieldPath and its value
- Alphabetic
- By Inheritance
- Field
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def first[P1, P2](implicit ev: <:<[P, (P1, P2)]): Field[P1]
Gets first tuple element of
value.Gets first tuple element of
value. GivenPis Tuple - val fullPath: String
Returns jap.fields.FieldPath.full of
path - final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def map[B](f: (P) => B): Field[B]
Maps
value - def mapPath(f: (FieldPath) => FieldPath): Field[P]
Maps
path - val name: String
Returns jap.fields.FieldPath.name of
path - def named(name: String): Field[P]
Renames this jap.fields.Field.
Renames this jap.fields.Field. Changes last
pathpart aka name. - final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def option[V](implicit ev: <:<[P, Option[V]]): Option[Field[V]]
Turns Option on
valueinto Option onjap.fields.Field.Turns Option on
valueinto Option onjap.fields.Field. GivenPiOption[V] - val path: FieldPath
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def provideSub[S](name: String, value: S): Field[S]
Creates new jap.fields.Field with provided
valueandname.Creates new jap.fields.Field with provided
valueandname. Prepends current fieldspathto this fieldpath - def second[P1, P2](implicit ev: <:<[P, (P1, P2)]): Field[P2]
Gets second tuple element of
value.Gets second tuple element of
value. GivenPis Tuple - def selectSub[S](name: String, selector: (P) => S): Field[S]
Creates new jap.fields.Field with provided
nameand selectedvalue.Creates new jap.fields.Field with provided
nameand selectedvalue. Prepends current fieldspathto this fieldpath - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Field → AnyRef → Any
- val value: P
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withPath(newPath: FieldPath): Field[P]
Change
path - def withValue[V](newValue: V): Field[V]
Change
value