[jvstm-ojb] Added Deprecated getters to the Generated Code.

  * This change is for compatibility reasons, for applications
    accessing the methods using reflection.