Exemple #1
0
 def getRelationTypes(self):
     """Return a collection of this schema's relation types"""
     if self.__relation_types is None:
         e = self._getChild((adveneNS, "relation-types"))
         self.__relation_types = ImportBundle(self, e, RelationType)
     return self.__relation_types
Exemple #2
0
 def getViews(self):
     """Return a collection of this package's view"""
     if self.__views is None:
         e = self._getChild((adveneNS, "views"))
         self.__views = ImportBundle(self, e, view.View)
     return self.__views
Exemple #3
0
 def getQueries(self):
     """Return a collection of this package's queries"""
     if self.__queries is None:
         e = self._getChild((adveneNS, "queries"))
         self.__queries = ImportBundle(self, e, query.Query)
     return self.__queries
Exemple #4
0
 def getSchemas(self):
     """Return a collection of this package's schemas"""
     if self.__schemas is None:
         e = self._getChild((adveneNS, "schemas"))
         self.__schemas = ImportBundle(self, e, schema.Schema)
     return self.__schemas