fixes the generated code comment for getters in models

refs #1019