コード例 #1
0
 def serialize(self):
     """
     Convert the object to a serialized tuple of data.
     """
     return (PrivacyBase.serialize(self), CitationBase.serialize(self),
             NoteBase.serialize(self), RefBase.serialize(self),
             self.frel.serialize(), self.mrel.serialize())
コード例 #2
0
 def serialize(self):
     """
     Convert the object to a serialized tuple of data.
     """
     return (PrivacyBase.serialize(self), NoteBase.serialize(self),
             AttributeBase.serialize(self), RefBase.serialize(self),
             self.__role.serialize())
コード例 #3
0
ファイル: address.py プロジェクト: PyCManager/portableApps
 def serialize(self):
     """
     Convert the object to a serialized tuple of data.
     """
     return (PrivacyBase.serialize(self), CitationBase.serialize(self),
             NoteBase.serialize(self), DateBase.serialize(self),
             LocationBase.serialize(self))
コード例 #4
0
 def serialize(self):
     """
     Convert the object to a serialized tuple of data.
     """
     return (PrivacyBase.serialize(self),
             CitationBase.serialize(self),
             NoteBase.serialize(self),
             self.type.serialize(), self.value)
コード例 #5
0
 def serialize(self):
     """
     Convert the object to a serialized tuple of data.
     """
     return (PrivacyBase.serialize(self), CitationBase.serialize(self),
             NoteBase.serialize(self), DateBase.serialize(self),
             self.first_name, SurnameBase.serialize(self), self.suffix,
             self.title, self.type.serialize(), self.group_as, self.sort_as,
             self.display_as, self.call, self.nick, self.famnick)
コード例 #6
0
ファイル: reporef.py プロジェクト: arpalmares/portableApps
 def serialize(self):
     """
     Convert the object to a serialized tuple of data.
     """
     return (
         NoteBase.serialize(self),
         RefBase.serialize(self),
         self.call_number,
         self.media_type.serialize(),
         PrivacyBase.serialize(self),
     )