Exemple #1
0
 def __init__(self, obj, generator=None, args=None, callable=None):
     Callable.__init__(self)
     SerializedObject.__init__(self, obj)
     if generator is not None and args is not None and callable is not None:
         self.activate(generator, args, callable)
     self.definition = None
     self.args = None
Exemple #2
0
 def __init__(self, obj, klass):
     Callable.__init__(self)
     SerializedObject.__init__(self, obj)
     self.klass = klass
     self.type_name = self.klass.name
Exemple #3
0
 def __init__(self, obj, generator=None, args=None, callable=None):
     Callable.__init__(self)
     SerializedObject.__init__(self, obj)
     if generator is not None and args is not None and callable is not None:
         self.activate(generator, args, callable)
Exemple #4
0
 def __init__(self, obj, klass):
     Callable.__init__(self)
     SerializedObject.__init__(self, obj)
     self.klass = klass
     self.type_name = self.klass.name