Exemple #1
0
 protected ComplexObject getComplexObject(String objectName, Map<String, Object> map) {
   List<IOID> ioids = new ArrayList<IOID>();
   for (Map.Entry<String, Object> namedObject : map.entrySet()) {
     ioids.add(addJavaObjectGetId(namedObject.getValue(), namedObject.getKey()));
   }
   return new ComplexObject(objectName, ioids);
 }
Exemple #2
0
 @Override
 public String toString() {
   String out = "";
   String separator = "";
   for (Map.Entry<IOID, ISBAObject> objects : data.entrySet()) {
     out += separator + "<i" + objects.getKey() + ", " + objects.getValue().toString() + ">";
     separator = System.lineSeparator();
   }
   return out;
 }