You need to create a new COBOL JVM Class in the addressBookWrapper project which will hold the record data:
This opens the New COBOL JVM Class dialog box.
This opens the RecordDTO.cbl program in a COBOL editor.
class-id com.addressBookWrapper.RecordDTO public.
working-storage section.
01 recordID binary-long property with no set public value 0.
01 #name string property public value "".
01 family string property public value "".
01 postalCode binary-long property public value 0.
01 city string property public value "".
01 street string property public value "".
01 phone string property public value "".
method-id instanceMethod.
local-storage section.
procedure division.
goback.
end method.
end class.
method-id New protected.
procedure division using by value #id as binary-long.
set recordID to #id
goback.
end method.