Thursday 26 January 2012

Setting process form child data via API

RequestBeneficiaryEntityAttribute mid1 = new RequestBeneficiaryEntityAttribute();
mid1.setType(TYPE.String);
mid1.setName("Facility");
RequestBeneficiaryEntityAttribute childAttribute1 = getAttr("Facility", "Pune");
List <RequestBeneficiaryEntityAttribute> childAttributesList1 = new ArrayList<RequestBeneficiaryEntityAttribute>();
childAttributesList1.add(childAttribute1);
mid1.setChildAttributes(childAttributesList1);
mid1.setAction(ACTION.Add);
entityAttrList = new ArrayList<RequestBeneficiaryEntityAttribute>();
entityAttrList.add(parantAttr);
entityAttrList.add(mid1);

No comments:

Post a Comment