Liking cljdoc? Tell your friends :D

specomatic.field-def

Functions working with specomatic field definitions.

Functions working with specomatic field definitions.
raw docstring

defaultsclj/smultimethod

Given field field and field definition field-def returns a map of defaults for the field definition.

Given field `field` and field definition `field-def`
returns a map of defaults for the field definition.
sourceraw docstring

dispatchclj/s

(dispatch field-def)

Given the field definition field-def, returns the dispatch value.

Given the field definition `field-def`, returns the dispatch value.
sourceraw docstring

inverse-field-defclj/smultimethod

Given entity type etype, field and field definition field-def, returns a tuple of entity type, inverse field and field definition or nil if none can be inferred.

Given entity type `etype`, `field` and field definition `field-def`,
returns a tuple of entity type, inverse field and field definition
or nil if none can be inferred.
sourceraw docstring

inverse-ofclj/s

(inverse-of field-def)

Given the field definition field-def, returns the inverse field.

Given the field definition `field-def`, returns the inverse field.
sourceraw docstring

inverse?clj/s

(inverse? field-def)

Checks if field definition field-def is inverse.

Checks if field definition `field-def` is inverse.
sourceraw docstring

kindclj/s

(kind field-def)

Given the field definition field-def, returns the kind.

Given the field definition `field-def`, returns the kind.
sourceraw docstring

reference-coll?clj/smultimethod

Checks if the field definition field-def is a reference collection.

Checks if the field definition `field-def` is a reference collection.
sourceraw docstring

reference-typeclj/s

(reference-type field-def)

Given the field definition field-def, returns the reference type.

Given the field definition `field-def`, returns the reference type.
sourceraw docstring

reference?clj/smultimethod

Checks if the field definition field-def is a reference.

Checks if the field definition `field-def` is a reference.
sourceraw docstring

relational?clj/smultimethod

Checks if the field definition field-def is relational.

Checks if the field definition `field-def` is relational.
sourceraw docstring

targetclj/s

(target field-def)

Given the field definition field-def, returns the target entity type.

Given the field definition `field-def`, returns the target entity type.
sourceraw docstring

viaclj/s

(via field-def)

Given the reference field definition field-def, returns the reference field on the opposite side of the relation, if available.

Given the reference field definition `field-def`, returns the reference field on the opposite side of the relation, if available.
sourceraw docstring

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

× close