Liking cljdoc? Tell your friends :D

bean-dip.core


->bean-valcljmultimethod

Used to translate values from map entries for setting on corresponding bean fields. Methods are implemented per map key and have the arg signature [key value]. Defaults to identity.

Used to translate values from map entries for setting on corresponding bean fields.
Methods are implemented per map key and have the arg signature [key value]. Defaults to
identity.
sourceraw docstring

->map-valcljmultimethod

Used to translate values from bean fields for using in corresponding map entries. Methods are implemented per map key and have the arg signature [key value]. Defaults to identity.

Used to translate values from bean fields for using in corresponding map entries. Methods
are implemented per map key and have the arg signature [key value]. Defaults to identity.
sourceraw docstring

builder-overridecljmultimethod

Override the default builder method invocation per field. Useful when builders have usage not covered by the single-arity-method-per-field-name convention.

Override the default builder method invocation per field. Useful when builders have usage
not covered by the single-arity-method-per-field-name convention.
sourceraw docstring

def-bean->mapcljmacro

(def-bean->map var-sym)
source

def-builder-translationcljmacro

(def-builder-translation bean-class-sym
                         builder-class-sym
                         field-specs
                         &
                         [{:keys [builder-form get-only-fields set-only-fields
                                  build-method]}])
source

def-map->bean-buildercljmacro

(def-map->bean-builder var-sym bean-class-sym builder-form field-specs)
source

def-map->bean-via-buildercljmacro

(def-map->bean-via-builder map->bean
                           map->builder
                           bean-class-sym
                           build-method-sym)
source

def-map->setter-beancljmacro

(def-map->setter-bean var-sym bean-class-sym field-specs)
source

def-translationcljmacro

(def-translation bean-class-sym field-specs)

Defines functions for bidirectional translation between instances of the given bean class and maps. For translation from maps the function defined is named map->[MyBeanClass] (like defrecord creates), and for translation to maps it's [MyBeanClass]->map.

Defines functions for bidirectional translation between instances of the given bean class and
maps. For translation from maps the function defined is named map->[MyBeanClass] (like defrecord
creates), and for translation to maps it's [MyBeanClass]->map.
sourceraw docstring

deqmarkclj

(deqmark s)
source

desugar-field-specsclj

(desugar-field-specs field-specs)
source

extend-mappablecljmacro

(extend-mappable bean-class field-specs)
source

filter-specsclj

(filter-specs field-specs exclude-fields)
source

hyphen->camelclj

(hyphen->camel s)
source

hyphen->pascalclj

(hyphen->pascal s)
source

make-bean->mapcljmacro

(make-bean->map bean-class field-specs)
source

make-build-seqclj

(make-build-seq map-sym builder-sym bean-class-sym bean-class field-specs)
source

make-mapclj

(make-map bean-sym field-specs)
source

make-maybe-assoc!clj

(make-maybe-assoc! bean-sym spec)
source

make-set-field-callclj

(make-set-field-call map-sym bean-sym get-method-name field-spec)
source

make-set-seqclj

(make-set-seq map-sym bean-sym field-specs)
source

maybe-deqmarkclj

(maybe-deqmark s)
source

name->getter-symclj

(name->getter-sym field-key map-key)
source

qmarked?clj

(qmarked? s)
source

resolve-map-valueclj

(resolve-map-value k v)
source

split-on-hyphensclj

(split-on-hyphens s)
source

TranslatableToMapcljprotocol

bean->mapclj

(bean->map this)

Converts a Java bean to a map according to the key spec registered via extend-mappable (usually via deftranslation)

Converts a Java bean to a map according to the key spec registered via extend-mappable
(usually via deftranslation)
source

uc-firstclj

(uc-first s)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close