trait FlagsDsl[UpdateFlag[_ <: TransformerFlags], Flags <: TransformerFlags] extends AnyRef
- Alphabetic
- By Inheritance
- FlagsDsl
- 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() @HotSpotIntrinsicCandidate()
- def disableBeanGetters: UpdateFlag[Disable[BeanGetters, Flags]]
Disable Java Beans naming convention (
.getName
,.isName
) onFrom
.Disable Java Beans naming convention (
.getName
,.isName
) onFrom
.- See also
https://scalalandio.github.io/chimney/transformers/java-beans.html#reading-from-java-beans for more details
- def disableBeanSetters: UpdateFlag[Disable[BeanSetters, Flags]]
Disable Java Beans naming convention (
.setName(value)
) onTo
.Disable Java Beans naming convention (
.setName(value)
) onTo
.- See also
https://scalalandio.github.io/chimney/transformers/java-beans.html#writing-to-java-beans for more details
- def disableDefaultValues: UpdateFlag[Disable[DefaultValues, Flags]]
Fail derivation if
From
type is missing field even ifTo
has default value for it.Fail derivation if
From
type is missing field even ifTo
has default value for it.By default in such case derivation will fallback to default values.
- def disableMethodAccessors: UpdateFlag[Disable[MethodAccessors, Flags]]
Disable method accessors lookup that was previously enabled by
enableMethodAccessors
Disable method accessors lookup that was previously enabled by
enableMethodAccessors
- def disableOptionDefaultsToNone: UpdateFlag[Disable[OptionDefaultsToNone, Flags]]
Disable
None
fallback value for optional fields inTo
.Disable
None
fallback value for optional fields inTo
. - def disableUnsafeOption: UpdateFlag[Disable[UnsafeOption, Flags]]
Disable unsafe value extraction from optional fields in
From
type.Disable unsafe value extraction from optional fields in
From
type.- See also
https://scalalandio.github.io/chimney/transformers/unsafe-options.html for more details
- def enableBeanGetters: UpdateFlag[Enable[BeanGetters, Flags]]
Enable Java Beans naming convention (
.getName
,.isName
) onFrom
.Enable Java Beans naming convention (
.getName
,.isName
) onFrom
.By default only Scala conversions (
.name
) are allowed.- See also
https://scalalandio.github.io/chimney/transformers/java-beans.html#reading-from-java-beans for more details
- def enableBeanSetters: UpdateFlag[Enable[BeanSetters, Flags]]
Enable Java Beans naming convention (
.setName(value)
) onTo
.Enable Java Beans naming convention (
.setName(value)
) onTo
.By default only Scala conversions (
.copy(name = value)
) are allowed.- See also
https://scalalandio.github.io/chimney/transformers/java-beans.html#writing-to-java-beans for more details
- def enableDefaultValues: UpdateFlag[Enable[DefaultValues, Flags]]
Enable fallback to default case class values in
To
type.Enable fallback to default case class values in
To
type. - def enableMethodAccessors: UpdateFlag[Enable[MethodAccessors, Flags]]
Enable values to be supplied from method calls.
Enable values to be supplied from method calls. Source method must be public and have no parameter list.
By default this is disabled because method calls may perform side effects (e.g. mutations)
- def enableOptionDefaultsToNone: UpdateFlag[Enable[OptionDefaultsToNone, Flags]]
Sets target value of optional field to None if field is missing from source type
From
.Sets target value of optional field to None if field is missing from source type
From
.By default in such case compilation fails.
- def enableUnsafeOption: UpdateFlag[Enable[UnsafeOption, Flags]]
Enable unsafe call to
.get
when source type From contains field of typeOption[A]
, but target type To defines this fields asA
.Enable unsafe call to
.get
when source type From contains field of typeOption[A]
, but target type To defines this fields asA
.It's unsafe as code generated this way may throw at runtime.
By default in such case compilation fails.
- See also
https://scalalandio.github.io/chimney/transformers/unsafe-options.html for more details
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated