public void translateToMap() { if (noOpIn != null) { Map mapList = new HashMap(); Map[] mapArray = null; mapList.put("Count", noOpIn.getLength()); mapList.put("TotalCount", noOpIn.getTotalCount()); mapList.put("Index", noOpIn.getIndex()); mapArray = new HashMap[noOpIn.getLength()]; for (int i = 0; i < noOpIn.getLength(); i++) { noOpIn.getArray()[i].resetFlags(true, true); mapArray[i] = ContractTypeObjectHelper.toMap(noOpIn.getArray()[i], null); addInput("ContractType", noOpIn); } addInput("ContractType", mapList); } }
/** * Retrieves the ContractTypeObjectDataList that results from the ContractTypeFindByServiceRequest * call * * @return ContractTypeObjectDataList resulting from udt call */ public ContractTypeObjectDataList getOutput() { return ContractTypeObjectHelper.fromMapList(outputMap, "ContractTypeList"); }
public void translateFromMap() { noOpIn = ContractTypeObjectHelper.fromMapList(inputMap, "ContractTypeList"); }