示例#1
0
 def __init__(self,
              individual: Optional[str] = None,
              affiliation: Optional[str] = None):
     Localized.__init__(self)
     HasCitations.__init__(self)
     self._individual = individual
     self._affiliation = affiliation
示例#2
0
 def __init__(self, url: str):
     HasMediaType.__init__(self)
     Localized.__init__(self)
     Described.__init__(self)
     self.url = url
     self._label = None
     self._relationship = None
示例#3
0
 def __init__(self,
              name: str,
              locale: Optional[str] = None,
              date: Optional[Datey] = None):
     Localized.__init__(self)
     self._name = name
     self.locale = locale
     self.date = date
示例#4
0
 def __init__(self,
              person: Person,
              individual: Optional[str] = None,
              affiliation: Optional[str] = None):
     Entity.__init__(self)
     Localized.__init__(self)
     HasCitations.__init__(self)
     self._individual = individual
     self._affiliation = affiliation
     # Set the person association last, because the association requires comparisons, and self.__eq__() uses the
     # individual and affiliation names.
     self.person = person
示例#5
0
 def __init__(self, locale: str, name: str, title: str, content: str):
     Localized.__init__(self, locale)
     self._name = name
     self._title = title
     self._content = content