 <p>This is a typical reason why accessors/properties are good to avoid if possible. Try to get rid of exposing the entity's "raw" data and put the logic inside the entity itself - then you have your null check in one place.</p> <pre><code>txtRequiredDate.setText(todoEntity.formattedRequiredDate()) </code></pre> <p>...where you do your null check in the entity method instead (and returning empty string or whatever if null).</p> <p>Whether getters and setters really are evil or not, <a href="http://www.javaworld.com/javaworld/jw-09-2003/jw-0905-toolbox.html" rel="nofollow">old classic article in this subject</a>, is up for debate, but at least having encapsulation in mind when designing entities is a good thing IMO.</p>