I use value objects to encapsulate validations like maxLength. This is an extract of a sample class without factory method and validation: public class CallingN
openhtmltopdf
prettyphoto
coroutineworker
toggle
shadow-root
trigger.io
actiontext
jmockit
rgbcolor
erasure-code
redis-sentinel
qbytearray
database-indexes
warm-up
ziggy
derby
requirejs-optimizer
freezegun
gulp-protractor
jacorb
modbus-rtu-over-tcp
scripting
desolve
hash-code-uniqueness
nsslider
kendo-datetimepicker
cnf
dynamic-scope
can-bus
transpiler