sobjects/test/data/schema.py
author Nicolas Chauvat <nicolas.chauvat@logilab.fr>
Sun, 16 Aug 2009 20:27:28 +0200
changeset 2867 e8581a4f1bae
parent 2661 f8df42c9da6b
child 4212 ab6573088b4a
permissions -rw-r--r--
backport stable branch

"""

: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'