: new HashSet<AttributeChoice>();
boolean hasChoices = false;
boolean notFound = true;
Iterator<AttributeChoice> choiceIt = choices.iterator();
while (choiceIt.hasNext() && notFound) {
AttributeChoice choice = choiceIt.next();
hasChoices = true;
Ordln ordln = choice.hasProdCatNo() ? ordlnManager
.findByOrderNrProdCatNo(orderLine.getOrderNr(), choice
.getProdCatNo(), choice.getProdCatNo2())
: Ordln.UNKNOWN;
String value = ordln != Ordln.UNKNOWN ? choice.getChoiceValue()
: "";
orderLineAttribute.setAttributeValue(value);
notFound = value.length() != 0 ? false : true;
}
return hasChoices;