Iterator itr = s.iterator();
Vector v = new Vector();
while (itr.hasNext())
{
Object o = itr.next();
AccountingLineElement ale = (AccountingLineElement) this.get(o);
int currid = ale.getElementId();
if (currid == lineID) ale.setLineStatus("Deleted");
{
if (!ale.getLineStatus().equals("New"))
{
ale.setLineStatus("Deleted");ale.setLineStatus("Deleted");
}else
v.add(o);
}//if
}//while