[[JBJCA-887] Input validation for code generator
[JBJCA-887] update string properties
[JBJCA-887] add more input check for name, not primitive type