/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Public Attributes | Static Public Attributes | Static Private Attributes
NonDbi::dataset::Dataset Class Reference
Inheritance diagram for NonDbi::dataset::Dataset:
Inheritance graph
[legend]
Collaboration diagram for NonDbi::dataset::Dataset:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def add_file
def __call__
def __init__
def __repr__

Public Attributes

 label

Static Public Attributes

tuple id = Column(Integer, primary_key=True)
tuple label = Column(String(255), nullable=False )
tuple files = relationship(DatasetFile, backref="dataset")

Static Private Attributes

string __tablename__ = 'dataset'

Detailed Description

Definition at line 55 of file dataset.py.


Constructor & Destructor Documentation

def NonDbi::dataset::Dataset::__init__ (   self,
  label 
)

Definition at line 71 of file dataset.py.

00072                               :
        self.label = label

Member Function Documentation

def NonDbi::dataset::Dataset::add_file (   self,
  f 
)

Definition at line 63 of file dataset.py.

00064                            :
00065         dsf = DatasetFile(dataset=self, file=f )   ## DO I NEED A get_or_create equivalent for this 
00066         self.files.append( dsf )

def NonDbi::dataset::Dataset::__call__ (   self,
  filelist 
)

Definition at line 67 of file dataset.py.

00068                                  :
00069         for f in filelist:
00070             self.add_file( f )

def NonDbi::dataset::Dataset::__repr__ (   self)

Definition at line 73 of file dataset.py.

00074                       :
00075         return "Dataset('%s')" % self.label 
00076 


Member Data Documentation

string NonDbi::dataset::Dataset::__tablename__ = 'dataset' [static, private]

Definition at line 56 of file dataset.py.

tuple NonDbi::dataset::Dataset::id = Column(Integer, primary_key=True) [static]

Definition at line 58 of file dataset.py.

tuple NonDbi::dataset::Dataset::label = Column(String(255), nullable=False ) [static]

Definition at line 59 of file dataset.py.

tuple NonDbi::dataset::Dataset::files = relationship(DatasetFile, backref="dataset") [static]

Definition at line 61 of file dataset.py.

Definition at line 71 of file dataset.py.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:50:09 for NonDbi by doxygen 1.7.4