final case class Field[+P](path: FieldPath, value: P) extends Product with Serializable
jap.fields.Field is Heart of the library and contains field path and its value
- path
fields path
- value
fields value
- Alphabetic
- By Inheritance
- Field
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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( ... ) @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]
Given jap.fields.Field.
valuetype is Tuple, get first tuple element -
val
fullPath: String
Full path of the field is dot-separated path of this jap.fields.Field
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
map[B](f: (P) ⇒ B): Field[B]
Map jap.fields.Field.
value -
def
mapPath(f: (FieldPath) ⇒ FieldPath): Field[P]
Map jap.fields.Field.
path -
val
name: String
Name of the jap.fields.Field
-
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()
- val path: FieldPath
-
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]
Given jap.fields.Field.
valuetype is Tuple, get second tuple element -
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
withPath(newPath: FieldPath): Field[P]
Change jap.fields.Field.
path -
def
withValue[V](newValue: V): Field[V]
Change jap.fields.Field.
value