Try OpenEdge Now
skip to main content
Java Open Clients
Passing Parameters : ABL data type mappings : Arrays as parameters : Arrays and Unknown value (?)
 
Arrays and Unknown value (?)
Since arrays are Java objects, they can be assigned the null value.
However, int[ ], boolean[ ], and long[ ] are arrays of intrinsic types, so the individual elements of the array cannot be null. The int[ ], boolean[ ], or long[ ] array as a whole can be null, which means that every element of the array on the AppServer will be UNKNOWN. If you want to assign Unknown value (?) to individual array elements, use the Allow Unknown check box in ProxyGen, and the generated proxy will contain Integer[ ], Boolean[ ] or Long[ ] for the parameter instead of int[ ], boolean[ ], or long[ ], respectively.