Added function to get java variable name

Added method getJavaName to obtein the name of the attribute with the
first letter capitalized.