MappingInlines

com.greenfossil.data.mapping.MappingInlines

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Mapping.type

Members list

Value members

Concrete methods

inline def bigDecimal: FieldMapping[BigDecimal]
inline def bigDecimal(precision: Int, scale: Int): Mapping[BigDecimal]
inline def boolean: FieldMapping[Boolean]
inline def byteNumber: FieldMapping[Byte]
inline def byteNumber(min: Byte, max: Byte, strict: Boolean): Mapping[Byte]
inline def char: FieldMapping[Char]
inline def checked(msg: String): Mapping[Boolean]
inline def date: FieldMapping[Date]
inline def dateUsing(pattern: String): FieldMapping[Date]
inline def default[A](defaultValue: A): Mapping[A]
def default[A](mapping: Mapping[A], defaultValue: A): Mapping[A]
inline def double: FieldMapping[Double]
inline def email: Mapping[String]
inline def float: FieldMapping[Float]
inline def htmlText: FieldMapping[String]
inline def htmlText(replacer: Match => String): FieldMapping[String]
inline def ignored[A](defaultValue: A): Mapping[A]
def ignored[A](mapping: Mapping[A], defaultValue: A): Mapping[A]
inline def list[A]: Mapping[List[A]]
inline def list[A](mapping: Mapping[A]): Mapping[List[A]]
inline def localDate: FieldMapping[LocalDate]
inline def localDateTime: FieldMapping[LocalDateTime]
inline def localDateTimeUsing(pattern: String): FieldMapping[LocalDateTime]
inline def localDateUsing(pattern: String): FieldMapping[LocalDate]
inline def localTime: FieldMapping[LocalTime]
inline def localTimeUsing(pattern: String): FieldMapping[LocalTime]
inline def longNumber: FieldMapping[Long]
inline def longNumber(min: Long, max: Long, strict: Boolean): Mapping[Long]
inline def mapping[A](using m: ProductOf[A])(nameValueTuple: Zip[MirroredElemLabels, FieldConstructor[<none>]]): Mapping[A]
inline def mobilePhone: Mapping[String]
inline def nonEmptyHtmlText: FieldMapping[String]
inline def nonEmptyHtmlText(replacer: Match => String): FieldMapping[String]
inline def nonEmptyText: FieldMapping[String]
inline def nonEmptyText(trim: Boolean): FieldMapping[String]
inline def nonEmptyText(minLength: Int, maxLength: Int, trim: Boolean): FieldMapping[String]
inline def number: FieldMapping[Int]
inline def number(min: Int, max: Int): Mapping[Int]
inline def optional[A]: Mapping[Option[A]]
def optional[A](mapping: Mapping[A]): Mapping[Option[A]]
inline def optionalMapping[A <: Product](using m: ProductOf[A])(nameValueTuple: Zip[MirroredElemLabels, FieldConstructor[<none>]]): Mapping[Option[A]]
inline def optionalTuple[A <: Tuple](nameValueTuple: A): Mapping[Option[FieldTypeExtractor[A]]]
inline def phone: Mapping[String]
inline def repeatedMapping[A](using m: ProductOf[A])(nameValueTuple: Zip[MirroredElemLabels, FieldConstructor[<none>]]): Mapping[Seq[A]]
inline def repeatedTuple[A <: Tuple](nameValueTuple: A): Mapping[Seq[FieldTypeExtractor[A]]]
inline def seq[A]: Mapping[Seq[A]]
inline def seq[A](minSize: Int): Mapping[Seq[A]]
inline def seq[A](mapping: Mapping[A]): Mapping[Seq[A]]
inline def shortNumber: FieldMapping[Short]
inline def shortNumber(min: Short, max: Short, strict: Boolean): Mapping[Short]
inline def sqlDate: FieldMapping[Date]
inline def sqlDateUsing(pattern: String): FieldMapping[Date]
inline def sqlTimestamp: FieldMapping[Timestamp]
inline def sqlTimestampUsing(pattern: String, timeZone: TimeZone): FieldMapping[Timestamp]
inline def text: FieldMapping[String]
inline def text(trim: Boolean): FieldMapping[String]
inline def text(minLength: Int, maxLength: Int, trim: Boolean): FieldMapping[String]
def text(bindingPreprocessor: String => String, constraints: Seq[Constraint[String]]): FieldMapping[String]
inline def textAsIs: FieldMapping[String]
inline def tuple[A <: Tuple](nameValueTuple: A): Mapping[FieldTypeExtractor[A]]
inline def uuid: FieldMapping[UUID]
inline def yearMonth: FieldMapping[YearMonth]
inline def yearMonthUsing(pattern: String): FieldMapping[YearMonth]

Concrete fields

val HTMLSanitizePat: Regex