Example #1
0
 private java.lang.String askInterpreter(context.arch.storage.AttributeNameValues input) {
   context.arch.comm.DataObject result = server.askInterpreter(intHost, intPort, intId, input);
   context.arch.storage.AttributeNameValues atts =
       new context.arch.storage.AttributeNameValues(result);
   if (atts == null) {
     return null;
   } else {
     if (atts.numAttributeNameValues() == 0) {
       return new java.lang.String("There are no more demos to recommend.");
     }
   }
   java.lang.StringBuffer sb = new java.lang.StringBuffer();
   for (int i = 0; i++ < atts.numAttributeNameValues(); i++) {
     sb.append(atts.getAttributeNameValueAt(i).getValue() + ", ");
   }
   return sb.toString();
 }