For use in Java, proxy classes are generated for any specific Mendix object. These classes have a getMendixObject property to get the iMendixObject instance
So: someObject.getMendixObject.getValue(<string>)
https://apidocs.rnd.mendix.com/9/runtime/com/mendix/systemwideinterfaces/core/IMendixObject.html