# HG changeset patch # User Stephanie Marcu # Date 1285346220 -7200 # Node ID efd5ba5192633ab4c697157ad119fa1475674d88 # Parent ad5e0898115370c11a68a0114283b747b78e859f [book] Talk about RichString in 'Yams schema' section diff -r ad5e08981153 -r efd5ba519263 doc/book/en/devrepo/datamodel/definition.rst --- a/doc/book/en/devrepo/datamodel/definition.rst Fri Sep 24 18:08:40 2010 +0200 +++ b/doc/book/en/devrepo/datamodel/definition.rst Fri Sep 24 18:37:00 2010 +0200 @@ -82,10 +82,16 @@ a set of attributes and relations, and some permissions which define who can add, read, update or delete entities of this type. -The following built-in types are available: ``String``, ``Int``, -``Float``, ``Decimal``, ``Boolean``, ``Date``, ``Datetime``, ``Time``, -``Interval``, ``Byte`` and ``Password``. They can only be used as -attributes of an other entity type. +The following built-in types are available: ``String``, +``Int``, ``Float``, ``Decimal``, ``Boolean``, +``Date``, ``Datetime``, ``Time``, ``Interval``, ``Byte`` and +``Password``. They can only be used as attributes of an other entity +type. + +There is also a `RichString` kindof type: + + .. autoclass:: yams.buildobjs.RichString + You can find more base entity types in :ref:`pre_defined_entity_types`. @@ -518,6 +524,8 @@ birth and a relation that connects a `Person` to another entity of type `Company` through the semantic `works_for`. + + :Naming convention: Entity class names must start with an uppercase letter. The common