Esempio n. 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)
Esempio n. 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)
Esempio n. 3
0
 def __setstate__(self, state):
     MutableObject.__setstate__(self, state)
     self.__constructed()
Esempio n. 4
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)