#PLEASE DO NOT EDIT THIS CODE #This code was generated using the UMPLE 1.33.0.6934.a386b0a58 modeling language! # line 9 "CodeInjectionTestSubclass.ump" from Mentor import Mentor class Example(Mentor): #------------------------ # MEMBER VARIABLES #------------------------ #------------------------ # CONSTRUCTOR #------------------------ def __init__(self, aAttr): super().__init__(aAttr) #------------------------ # INTERFACE #------------------------ def getAttr(self): # line 12 "CodeInjectionTestSubclass.ump" #before getAttr # END OF UMPLE BEFORE INJECTION aAttr = super().getAttr() # line 17 "CodeInjectionTestSubclass.ump" #after getAttr # END OF UMPLE AFTER INJECTION return aAttr # Code from template attribute_GetDerivedSubclass def getDerivedAttr(self): # line 13 "CodeInjectionTestSubclass.ump" #before getDerivedAttr # END OF UMPLE BEFORE INJECTION aDerivedAttr = super().getDerivedAttr() # line 18 "CodeInjectionTestSubclass.ump" #after getDerivedAttr # END OF UMPLE AFTER INJECTION return aDerivedAttr # Code from template attribute_GetManySubclass def getListAttr(self, index): # line 14 "CodeInjectionTestSubclass.ump" #before getListAttr # END OF UMPLE BEFORE INJECTION aListAttr = super().getListAttr(index) # line 19 "CodeInjectionTestSubclass.ump" #after getListAttr # END OF UMPLE AFTER INJECTION return aListAttr def getDefaultedAttr(self): # line 15 "CodeInjectionTestSubclass.ump" #before getDefaultedAttr # END OF UMPLE BEFORE INJECTION aDefaultedAttr = super().getDefaultedAttr() # line 20 "CodeInjectionTestSubclass.ump" #after getDefaultedAttr # END OF UMPLE AFTER INJECTION return aDefaultedAttr def delete(self): super().delete()