2 """ This class provides access to the underlying data model.
6 """ Return a list of the daughter relations of an object.
8 raise NotImplementedError
11 """ Return a list of the mother relations of an object.
13 raise NotImplementedError
18 if list==
None or not child
in list:
19 daughterRelations+=[child]
21 daughterRelations+=[grandchild]
22 return daughterRelations
27 if list==
None or not mother
in list:
28 motherRelations+=[mother]
30 motherRelations+=[grandmother]
31 return motherRelations
34 """ Return if object has relations.