sobjects/test/data/schema.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 17 Sep 2009 11:31:38 +0200
branch3.5
changeset 3280 c1f5625f2fea
parent 2661 f8df42c9da6b
child 4212 ab6573088b4a
permissions -rw-r--r--
ensure bw compat for relation traduction, add context to _object msg id

"""

:organization: Logilab
:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""
from yams.buildobjs import RelationDefinition

class comments(RelationDefinition):
    subject = 'Comment'
    object = 'Card'
    cardinality='1*'
    composite='object'