I\'ve recently started Kotlin and now am beating with some basic stuff as it seems. Imagine I have a class which is used to access database and let it look like this: