trait
BeanGeneric[B] extends AnyRef
Type Members
-
abstract
type
Repr
Abstract Value Members
-
abstract
def
from(r: Repr): B
-
abstract
def
to(b: B): Repr
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
final
def
wait(): Unit
Deprecated Value Members
-
def
finalize(): Unit
Represents an ability to convert bean of type B to generic representation (shapeless.HList). This is almost the same with shapeless.Generic, but for JavaBeans. E.g:
Then the BeanGeneric instance will have
Repr
=String :: Int :: HNil
. Note that the HList order is the same with the bean properties getters declaration order.Now it's possible to convert bean to HList, and then convert HList to something else.
the bean type