PEATSA/WebApp/Data.py
def metadata(self):
	
		'''Returns the metadata associated with the job.
		
		If no metadata was associated with the job this method returns None'''
		
		if not self.exists():
			raise Exceptions.DatabaseRetrievalError, "Job Id %s does not exist in the database" % self.identification
		
		self.connection.commit()
		selectQuery = """SELECT Metadata FROM %s WHERE JobID='%s'""" % (self.jobTable, self.identification)
		self.cursor.execute(selectQuery)		
		rows = self.cursor.fetchall()
		
		data = rows[0][0]
		dict = UnserializeDictionary(data)
		
		return dict
Returns the metadata associated with the job.
		
		If no metadata was associated with the job this method returns None
Returns the metadata associated with the job.
If no metadata was associated with the job this method returns None
Returns the metadata associated with the job . If no metadata was associated with the job this method returns None
def metadata(self):
		if not self.exists():
			raise Exceptions.DatabaseRetrievalError, "Job Id %s does not exist in the database" % self.identification
		self.connection.commit()
		selectQuery = """SELECT Metadata FROM %s WHERE JobID='%s'""" % (self.jobTable, self.identification)
		self.cursor.execute(selectQuery)		
		rows = self.cursor.fetchall()
		data = rows[0][0]
		dict = UnserializeDictionary(data)
		return dict
def metadata ( self ) : if not self . exists ( ) : raise Exceptions . DatabaseRetrievalError , "Job Id %s does not exist in the database" % self . identification self . connection . commit ( ) selectQuery = """SELECT Metadata FROM %s WHERE JobID='%s'""" % ( self . jobTable , self . identification ) self . cursor . execute ( selectQuery ) rows = self . cursor . fetchall ( ) data = rows [ 0 ] [ 0 ] dict = UnserializeDictionary ( data ) return dict
Returns the metadata associated with the job.
Returns the metadata associated with the job .
'''Returns the metadata associated with the job.
		
		If no metadata was associated with the job this method returns None'''
self