Package lexis :: Module resource :: Class ResourceSet
[show private | hide private]
[frames | no frames]

Class ResourceSet

IResource --+
            |
           ResourceSet


Method Summary
  __init__(self, rdfclass, resourceFilter, dbaccess)
  __iter__(self)
  commit(self)
Apply the changes on the storage
  count(self)
  get(self, propertyName)
return a list of resources of the property range type
  getID(self)
  next(self)
  prepare(self)
  set(self, propertyName, resource)
First check if the resource is compatible with the property, then apply the resource value to all the resources in the set.
    Inherited from IResource
  getClass(self)
  hasProperty(self, propertyName)

Method Details

commit(self)

Apply the changes on the storage

get(self, propertyName)

return a list of resources of the property range type
Parameters:
propertyName - QName of the property

set(self, propertyName, resource)

First check if the resource is compatible with the property, then apply the resource value to all the resources in the set. The changes are not applied until commit() is called.
Parameters:
propertyName - QName of the property to set
resource - resource instance to set as property value

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