Exemplo n.º 1
0
 def __init__(self, title, **data):
     schooltool.requirement.requirement.Requirement.__init__(self, title)
     Superclass.__init__(self, ikName=title, **data)
     Superclass.__post_init__(self, **data)
     refAttributeNames = ['categories']
     for (name, value) in data.items():
         if name in IRequirement.names() and \
            name not in refAttributeNames:
             setattr(self, name, value)
     self.ikRevision = __version__
Exemplo n.º 2
0
 def __init__(self, **data):
     """
     constructor of Supernode
     """
     Superclass.__init__(self, **data)
     BTreeContainer.__init__(self)
     for (name, value) in data.items():
         if name in ISupernode.names():
             setattr(self, name, value)
     self.ikRevision = __version__
Exemplo n.º 3
0
 def __init__(self, **data):
     """
     constructor of the object
     """
     Superclass.__init__(self, **data)
     Folder.__init__(self)
Exemplo n.º 4
0
 def __init__(self, requirement, scoreSystem, value, evaluator, **data):
     schooltool.requirement.evaluation.Evaluation.__init__(
         self, requirement, scoreSystem, value, evaluator)
     Superclass.__init__(self, ikName=requirement.ikName, **data)
     Superclass.__post_init__(self, **data)
Exemplo n.º 5
0
 def __init__(self, title, **data):
     schooltool.requirement.requirement.Requirement.__init__(self, title)
     Superclass.__init__(self, ikName=title, **data)
     Superclass.__post_init__(self, **data)
Exemplo n.º 6
0
 def __init__(self):
     Superclass.__init__(self)
     Contained.__init__(self)
     self.ikRevision = __version__
Exemplo n.º 7
0
 def __init__(self):
     Superclass.__init__(self)
     OrderedContainer.__init__(self)
     self.ikRevision = __version__