boolean getJobInfo(in long number, out jobInfo info)
inout and out
parameters is the use of holder classes.
Java cannot directly map these types and has to make use of holder classes. jobInfo jbInfo = new jobInfo(); jobInfoHolder jbInfoHolder = new jobInfoHolder(jbInfo); jbSession.getJobInfo(jobNumber, jbInfoHolder); System.out.println(jbInfo.number);
jobInfo jbInfo = new jobInfo(); jobInfoHolder jbInfoHolder = new jobInfoHolder(jbInfo); jbSession.getJobInfo(jobNumber, jbInfoHolder); jbInfo = jbInfoHolder.value System.out.println(jbInfo.number);