Generating the getter, setter solutions for an attribute and then passing these as argument to property perform I will not down vote but urge Devs to consider this rather than have null / empty checks as part of your property strategies. 2 To explain everytime you call a category property https://emperiumgurugram.in/