Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. '''
  2. Created on 21/nov/2010
  3.  
  4. @author: placava
  5. '''
  6.  
  7. class Dedica(object):
  8.    
  9.     def __init__(self,id=None,nickname=None,email=None,messaggio=None,dataInserimento=None):
  10.         self.nickname = nickname
  11.         self.email = email
  12.         self.messaggio = messaggio
  13.         self.dataInserimento = dataInserimento
  14.         self.id = id
  15.    
  16.     def setId(self,id):
  17.         self.id = id
  18.    
  19.     def setNickname(self,nickname):
  20.         self.nickname = nickname
  21.    
  22.     def setEmail(self,email):
  23.         self.email = email
  24.    
  25.     def setMessaggio(self,messaggio):
  26.         self.messaggio = messaggio
  27.    
  28.     def setDataInserimento(self,dataInserimento):
  29.         self.dataInserimento = dataInserimento
  30.    
  31.     def getId(self):
  32.         return self.id
  33.    
  34.     def getNickname(self):
  35.         return self.nickname
  36.    
  37.     def getEmail(self):
  38.         return self.email
  39.    
  40.     def getMessaggio(self):
  41.         return self.messaggio
  42.    
  43.     def getDataInserimento(self):
  44.         return self.dataInserimento