this approach uses a property "storage" that keeps track of whether or not a field was set (even if it was set to null).
there were several other possible approaches like using Optional class in Java 8 or implementing something custom like method listeners, etc. "property storage" was selected due to several considerations.
this approach uses a property "storage" that keeps track of whether or not a field was set (even if it was set to null). there were several other possible approaches like using Optional class in Java 8 or implementing something custom like method listeners, etc. "property storage" was selected due to several considerations.