588 |
return not self.__eq__(other) |
return not self.__eq__(other) |
589 |
|
|
590 |
def __repr__(self): |
def __repr__(self): |
591 |
return "'" + self.label + "', " + repr(self.GetProperties()) |
return repr(self.label) + ", " + repr(self.GetProperties()) |
592 |
|
|
593 |
class ClassGroupSingleton(ClassGroup): |
class ClassGroupSingleton(ClassGroup): |
594 |
"""A Group that is associated with a single value.""" |
"""A Group that is associated with a single value.""" |
643 |
and self.__value == other.__value |
and self.__value == other.__value |
644 |
|
|
645 |
def __repr__(self): |
def __repr__(self): |
646 |
return "(" + self.__value + ", " + ClassGroup.__repr__(self) + ")" |
return "(" + repr(self.__value) + ", " + ClassGroup.__repr__(self) + ")" |
647 |
|
|
648 |
class ClassGroupDefault(ClassGroup): |
class ClassGroupDefault(ClassGroup): |
649 |
"""The default Group. When values do not match any other |
"""The default Group. When values do not match any other |
787 |
and self.__max == other.__max |
and self.__max == other.__max |
788 |
|
|
789 |
def __repr__(self): |
def __repr__(self): |
790 |
return "(" + str(self.__min) + ", " + str(self.__max) + ", " + \ |
return "(" + repr(self.__min) + ", " + repr(self.__max) + ", " + \ |
791 |
ClassGroup.__repr__(self) + ")" |
ClassGroup.__repr__(self) + ")" |
792 |
|
|
793 |
class ClassGroupMap(ClassGroup): |
class ClassGroupMap(ClassGroup): |