Commit d2a801ef authored by vkadam's avatar vkadam

Add new method


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@97028 ce508802-f39f-4f6c-b175-0d175dae99d5
parent c4fb249c
......@@ -796,7 +796,25 @@ public class ProofOfDelivery extends ValidatorEJB implements ProofOfDeliveryLoca
return false;
}
private String getCurrentUpdateFlag(Node currDetail)
{
NodeList currDetailList = null;
String updateStatus = "", nodeName = "";
int currDetailListLength = 0;
currDetailList = currDetail.getChildNodes();
currDetailListLength = currDetailList.getLength();
for (int i = 0; i < currDetailListLength; i++)
{
nodeName = currDetailList.item(i).getNodeName();
if (nodeName.equalsIgnoreCase("Attribute"))
{
updateStatus = currDetailList.item(i).getAttributes().getNamedItem("updateFlag").getNodeValue();
break;
}
}
return updateStatus;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment