doc/book/en/development/datamodel/metadata.rst
changeset 5408 120db445c179
parent 5398 b9e1abe1bdfe
parent 5407 7730796f9506
child 5409 1e074c6150fe
equal deleted inserted replaced
5398:b9e1abe1bdfe 5408:120db445c179
     1 
       
     2 Metadata
       
     3 --------
       
     4 
       
     5 .. index::
       
     6    schema: meta-data;
       
     7    schema: eid; creation_date; modification_data; cwuri
       
     8    schema: created_by; owned_by; is; is_instance;
       
     9 
       
    10 Each entity type in |cubicweb| has at least the following meta-data attributes and relations:
       
    11 
       
    12 `eid`
       
    13   entity's identifier which is unique in an instance. We usually call this identifier `eid` for historical reason.
       
    14 
       
    15 `creation_date`
       
    16   Date and time of the creation of the entity.
       
    17 
       
    18 `modification_date`
       
    19   Date and time of the latest modification of an entity.
       
    20 
       
    21 `cwuri`
       
    22   Reference URL of the entity, which is not expected to change.
       
    23 
       
    24 `created_by`
       
    25   Relation to the :ref:`users <CWUser>` who has created the entity
       
    26 
       
    27 `owned_by`
       
    28   Relation to :ref:`users <CWUser>` whom the entity belongs; usually the creator but not
       
    29   necessary, and it could have multiple owners notably for permission control
       
    30 
       
    31 `is`
       
    32   Relation to the :ref:`entity type <CWEType>` of which type the entity is.
       
    33 
       
    34 `is_instance`
       
    35   Relation to the :ref:`entity types <CWEType>` of which type the
       
    36   entity is an instance of.
       
    37