Update of /cvsroot/modeling/ProjectModeling/Modeling/interfaces
In directory sc8-pr-cvs1:/tmp/cvs-serv24919/interfaces
Modified Files:
ClassDescription.py
Log Message:
Added CustomObject.snapshot_raw(), support for the future ability to fetch
raw rows (see above)
Added primaryKeys() and foreignKeys() to [Entity]ClassDescription
Index: ClassDescription.py
===================================================================
RCS file: /cvsroot/modeling/ProjectModeling/Modeling/interfaces/ClassDescription.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** ClassDescription.py 14 Mar 2003 11:40:11 -0000 1.5
--- ClassDescription.py 16 Jul 2003 18:45:24 -0000 1.6
***************
*** 158,163 ****
--- 158,174 ----
""
+ def foreignKeys(self):
+ """
+ Returns the names of foreign keys for the object, i.e. the source
+ attributes' names of to-one relationships.
+
+ See also: toOneRelationshipKeys(), allToOneRelationshipKeys()
+ """
+
def inverseForRelationshipKey(self, aKey):
""
+
+ def primaryKeys(self):
+ "Returns the names of primary keys for the object"
def propagateDeleteForObject(self, anObject, editingContext):
|