Exemplo n.º 1
0
 /** @return an instance of a valued java object. */
 public static Dfhcommarea getJavaObjectFull() {
   ObjectFactory of = new ObjectFactory();
   Dfhcommarea dfhcommarea = of.createDfhcommarea();
   dfhcommarea.setCItemsNumber(Short.parseShort("250"));
   for (int i = 0; i < 250; i++) {
     CArray item = new CArray();
     item.setCItem1("ABJAD");
     item.setCItem2(Short.parseShort(Integer.toString(7 * i)));
     dfhcommarea.getCArray().add(item);
   }
   return dfhcommarea;
 }
Exemplo n.º 2
0
 /** @return an instance of a valued java object. */
 public static Dfhcommarea getJavaObjectEmpty() {
   ObjectFactory of = new ObjectFactory();
   Dfhcommarea dfhcommarea = of.createDfhcommarea();
   dfhcommarea.setCItemsNumber(Short.parseShort("0"));
   return dfhcommarea;
 }