if (order == null) { return getSection().getAssociatedItemsSet().size(); } return order.intValue() - 1;
return order == null ? getSection().getAssociatedItemsSet().size() - 1 : order.intValue();
    private int getNewOrder(Integer order) {	if (order == null) {	    return getSection().getAssociatedItemsSet().size();	}	return order.intValue() - 1;    }