示例#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__
示例#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__
示例#3
0
 def __init__(self, **data):
     """
     constructor of the object
     """
     Superclass.__init__(self, **data)
     Folder.__init__(self)
示例#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)
示例#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)
示例#6
0
 def __init__(self):
     Superclass.__init__(self)
     Contained.__init__(self)
     self.ikRevision = __version__
示例#7
0
 def __init__(self):
     Superclass.__init__(self)
     OrderedContainer.__init__(self)
     self.ikRevision = __version__