package data
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- sealed trait Optional[+A] extends AnyRef
Custom option type to be used for wrapping external data models where most of the fields are defined to be optional.
Custom option type to be used for wrapping external data models where most of the fields are defined to be optional.
Instances of Optional are either Optional.Present or Optional.Absent.
The only difference between this type and scala.Option is that there is an implicit conversion defined from
A
to
Optional[A], and from
Option[A]
.to
Optional[A]