From 831df57232200e995d414d4a2c509d4d1f53773b Mon Sep 17 00:00:00 2001
From: Jean-Paul Smets <jp@nexedi.com>
Date: Tue, 3 Oct 2006 12:03:00 +0000
Subject: [PATCH] Comments should make the difference between object and
 content clearer

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10506 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Type/Accessor/TypeDefinition.py | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/product/ERP5Type/Accessor/TypeDefinition.py b/product/ERP5Type/Accessor/TypeDefinition.py
index 798ecabe0a..27ddf6f635 100644
--- a/product/ERP5Type/Accessor/TypeDefinition.py
+++ b/product/ERP5Type/Accessor/TypeDefinition.py
@@ -142,12 +142,15 @@ type_definition = {
                              'default' : [],
                              'isList'  : 1,
                            },
-    'content'             : { 'cast'    : identity,
+                           # Content are subdocuments (ex. default_career)
+    'content'             : { 'cast'    : identity,          
                              'null'    : ('', 'None', None,),
                              'default' : None,
                              'isList'  : 0,
                            },
-    'object'             : { 'cast'    : identity,
+                           # Object are properties of any type (ex. data)
+                           # and are considered as simple properties
+    'object'             : { 'cast'    : identity, 
                              'null'    : ('', 'None', None,),
                              'default' : None,
                              'isList'  : 0,
-- 
2.30.9