The set and get methods are usually created to be used outside the class, if you wan to access you can do it directly to the attribute i.e. self.name