Added javaclass fag

generated get/set, thanks to netbeans