Пример #1
0
    def __init__(self, ref, title, id_):
        self.ref = None
        self._title = None

        if title:
            self._title = unicode(title)
        if ref:
            self.ref = unicode(ref)

        self.id_ = id_
        MutableObject.__init__(self)
Пример #2
0
    def __init__(self, ref, title, id_):
        self.ref = None
        self._title = None

        if title:
            self._title = unicode(title)
        if ref:
            self.ref = unicode(ref)

        self.id_ = id_
        MutableObject.__init__(self)
Пример #3
0
 def __init__(self, type_tokens=None):
     self.input_tokens = type_tokens or []
     self.comment = None
     self.extension_attributes = MutableDict()
     self.__constructed()
     MutableObject.__init__(self)