schema.py
changeset 5896 67683b7e591a
parent 5768 1e73a466aa69
child 6017 5f6a60ea8544
--- a/schema.py	Mon Jul 05 19:06:17 2010 +0200
+++ b/schema.py	Tue Jul 06 09:39:06 2010 +0200
@@ -417,7 +417,7 @@
             # avoid deleting the relation type accidentally...
             self.schema['has_text'].del_relation_def(self, self.schema['String'])
 
-    def schema_entity(self):
+    def schema_entity(self): # XXX @property for consistency with meta
         """return True if this entity type is used to build the schema"""
         return self.type in SCHEMA_TYPES
 
@@ -441,7 +441,7 @@
     def meta(self):
         return self.type in META_RTYPES
 
-    def schema_relation(self):
+    def schema_relation(self): # XXX @property for consistency with meta
         """return True if this relation type is used to build the schema"""
         return self.type in SCHEMA_TYPES