[book] Talk about RichString in 'Yams schema' section stable
authorStephanie Marcu <stephanie.marcu@logilab.fr>
Fri, 24 Sep 2010 18:37:00 +0200
branchstable
changeset 6342 efd5ba519263
parent 6341 ad5e08981153
child 6343 4814d44405fc
[book] Talk about RichString in 'Yams schema' section
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