QuickBase made the SDKs open sourced roughly four years ago, and can be accessed through the repository here:
https://github.com/QuickbaseAdmirer?tab=repositories. One example for constructing your object is located here:
http://help.quickbase.com/user-assistance/#resolve_scripting_issues.html where it shows:
"QuickBaseClient qc = new QuickBaseClient("
testuser@intuit.com","password", "<accountURL>.quickbase.com");". It's been years since I coded in Java though, and I haven't played with which packages to import in the QuickBase world.