Package amplee :: Package storage :: Class StorageResourceInfo
[show private | hide private]
[frames | no frames]

Type StorageResourceInfo

object --+
         |
        StorageResourceInfo


Method Summary
  __init__(self, name, key, collection_name)
Wraps in a neutral object any storage implementation mechanism to identify and access a resource.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Method Details

__init__(self, name=None, key=None, collection_name=None)
(Constructor)

Wraps in a neutral object any storage implementation mechanism to identify and access a resource.

The ``name`` argument is a byte string or unicode string naming the resource.

The ``key`` argument is the per-storage class object used to identify and access the resource for that storage.

The class also has a ``collection_name`` attribute that is not compulsory but can be helpful and should therefore set whenever possible.
Overrides:
__builtin__.object.__init__

Generated by Epydoc 2.1 on Thu Jul 19 15:32:17 2007 http://epydoc.sf.net