ArrayList<InstanceTypeSetItemType> itsit = new ArrayList<InstanceTypeSetItemType>();
for (Entry<String,List<String>> entrySet : form.entrySet()) {
List<String> instanceType = entrySet.getValue();
if(entrySet.getKey().startsWith(INSTANCE_TYPE_VAR) && instanceType.size() == 1) {
InstanceTypeSetItemType instType = new InstanceTypeSetItemType();
instType.setInstanceType(instanceType.get(0));
itsit.add(instType);
}
}
InstanceTypeSetType instanceTypeSet = new InstanceTypeSetType();