Package lexis :: Module wskClass :: Class ClassPhyMap
[show private | hide private]
[frames | no frames]

Class ClassPhyMap


Map a class and its properties into the physical storage structure. Each concrete class must have a ClassPhyMap. The mappings are built during the creation or the update of the physical storage
Method Summary
  __init__(self)
  addQuery(self, query)
Add a query needed for accessing some properties
  dump(self)
  getPropertyQuery(self, propertyName)
return the query needed for a property
  mapProperty(self, propertyName, queryID)
Map a property to a query

Method Details

addQuery(self, query)

Add a query needed for accessing some properties
Parameters:
query - the query object [might be a SQL string] @return the ID given to the query

getPropertyQuery(self, propertyName)

return the query needed for a property
Parameters:
propertyName - QName of the needed property @return the query objecy [@see addQuery]

mapProperty(self, propertyName, queryID)

Map a property to a query
Parameters:
propertyName - QName of the property to be mapped
queryID - id given to the query (@see addQuery)

Generated by Epydoc 2.0 on Sat Feb 07 21:05:40 2004 http://epydoc.sf.net