Package AccessGrid :: Module Descriptions :: Class DataDescription
[show private | hide private]
[frames | no frames]

Class DataDescription

ObjectDescription --+
                    |
                   DataDescription


A Data Description represents data within a venue.

Each description object represents a single file. (We assume that the venue-resident data server does not support directory hierarchies).


Method Summary
  __init__(self, name)
  AsINIBlock(self)
  GetChecksum(self)
  GetLastModified(self)
  GetOwner(self)
  GetSize(self)
  GetStatus(self)
  GetType(self)
  SetChecksum(self, checksum)
  SetLastModified(self, date)
  SetOwner(self, owner)
  SetSize(self, size)
  SetStatus(self, status)
  SetType(self, type)
    Inherited from ObjectDescription
  __repr__(self)
  GetDescription(self)
  GetId(self)
  GetName(self)
  GetURI(self)
  SetDescription(self, description)
  SetId(self, oid)
  SetName(self, name)
  SetURI(self, uri)

Class Variable Summary
classobj InvalidStatus = AccessGrid.Descriptions.InvalidStatus
str STATUS_INVALID = 'invalid'
str STATUS_PENDING = 'pending'
str STATUS_PRESENT = 'present'
str STATUS_REFERENCE = 'reference'
str STATUS_UPLOADING = 'uploading'
list valid_status = ['invalid', 'reference', 'present', 'pend...

Class Variable Details

STATUS_INVALID

Type:
str
Value:
'invalid'                                                              

STATUS_PENDING

Type:
str
Value:
'pending'                                                              

STATUS_PRESENT

Type:
str
Value:
'present'                                                              

STATUS_REFERENCE

Type:
str
Value:
'reference'                                                            

STATUS_UPLOADING

Type:
str
Value:
'uploading'                                                            

valid_status

Type:
list
Value:
['invalid', 'reference', 'present', 'pending', 'uploading']            

Generated by Epydoc 2.1 on Thu Apr 14 16:39:27 2005 http://epydoc.sf.net