Package flumotion :: Package common :: Module interfaces :: Class IFile
[hide private]

Class IFile

source code

zope.interface.Interface --+
                           |
                          IFile
Known Subclasses:

I am an interface representing a file and it's metadata.

Instance Methods [hide private]
str
getPath()
Returns the complete path to the file, including the filename itself.
source code
Class Variables [hide private]
  filename = Attribute('the name of the file')
  iconNames = Attribute("""icon names that should be used to rep...
  _InterfaceClass__attrs = {'filename': <zope.interface.interfac...
  __bases__ = (<InterfaceClass zope.interface.Interface>)
  __identifier__ = 'flumotion.common.interfaces.IFile'
  __iro__ = (<InterfaceClass flumotion.common.interfaces.IFile>,...
  __name__ = 'IFile'
  __sro__ = (<InterfaceClass flumotion.common.interfaces.IFile>,...
  _implied = {<InterfaceClass flumotion.common.interfaces.IFile>...
  dependents = <WeakKeyDictionary at 140700172>

Inherited from zope.interface.Interface (private): _Element__tagged_values

Method Details [hide private]

getPath()

source code 

Returns the complete path to the file, including the filename itself.

Returns: str
the complete path to the file

Class Variable Details [hide private]

iconNames

Value:
Attribute("""icon names that should be used to represent
      this file in a graphical interface""")

_InterfaceClass__attrs

Value:
{'filename': <zope.interface.interface.Attribute object at 0x862e96c>,
 'getPath': <zope.interface.interface.Method object at 0x862ea6c>,
 'iconNames': <zope.interface.interface.Attribute object at 0x862e9cc>\
}

__iro__

Value:
(<InterfaceClass flumotion.common.interfaces.IFile>,
 <InterfaceClass zope.interface.Interface>)

__sro__

Value:
(<InterfaceClass flumotion.common.interfaces.IFile>,
 <InterfaceClass zope.interface.Interface>)

_implied

Value:
{<InterfaceClass flumotion.common.interfaces.IFile>: (),
 <InterfaceClass zope.interface.Interface>: ()}