Noizu.Entity.Meta.Identifier (NoizuLabs Entities v0.2.1)

Logic for entity identifier details.

Summary

Types

Identifier Field Metadata entry

Auto generate identifier?

Name of identifier field (Default :id)

Type of identifier field (Default :uuid)

Is this identifier universal? (i.e. identifier encodes information about table source, node tenancy and id)

Types

id_settings()

@type id_settings() ::
  {:id_settings, name :: identifier_name(), generate :: identifier_generate(),
   universal :: identifier_universal(), type :: identifier_type()}

Identifier Field Metadata entry

identifier_generate()

@type identifier_generate() :: term()

Auto generate identifier?

identifier_name()

@type identifier_name() :: term()

Name of identifier field (Default :id)

identifier_type()

@type identifier_type() :: :uuid | :atom | :integer | :ref | :dual_ref | term()

Type of identifier field (Default :uuid)

identifier_universal()

@type identifier_universal() :: term()

Is this identifier universal? (i.e. identifier encodes information about table source, node tenancy and id)

Functions

id_settings(args \\ [])

(macro)

id_settings(record, args)

(macro)