In order for @properties to work properly the class should be a subclass of item. when The category is just not a subclass of object then The 1st time you try obtain the setter it in fact will make a fresh attribute Using the shorter title instead of accessing throughout https://flatsingurgaonindia.blogspot.com