eric6/Graphics/ClassItem.py

changeset 8281
184ece570a2b
parent 8277
ea734702ae94
child 8287
30eb7bc13d63
equal deleted inserted replaced
8280:17d03699f151 8281:184ece570a2b
78 def getMethods(self): 78 def getMethods(self):
79 """ 79 """
80 Public method to retrieve the methods of the class. 80 Public method to retrieve the methods of the class.
81 81
82 @return list of class methods 82 @return list of class methods
83 @type list of str 83 @rtype list of str
84 """ 84 """
85 return self.methods[:] 85 return self.methods[:]
86 86
87 def getInstanceAttributes(self): 87 def getInstanceAttributes(self):
88 """ 88 """
89 Public method to retrieve the attributes of the class. 89 Public method to retrieve the attributes of the class.
90 90
91 @return list of instance attributes 91 @return list of instance attributes
92 @type list of str 92 @rtype list of str
93 """ 93 """
94 return self.instanceAttributes[:] 94 return self.instanceAttributes[:]
95 95
96 def getClassAttributes(self): 96 def getClassAttributes(self):
97 """ 97 """
98 Public method to retrieve the global attributes of the class. 98 Public method to retrieve the global attributes of the class.
99 99
100 @return list of class attributes 100 @return list of class attributes
101 @type list of str 101 @rtype list of str
102 """ 102 """
103 return self.classAttributes[:] 103 return self.classAttributes[:]
104 104
105 105
106 class ClassItem(UMLItem): 106 class ClassItem(UMLItem):

eric ide

mercurial