For more information see page 197 of Refactoring
In the example I showed an addOrder method, but I didn't show the removeOrder method. If you want to do a remove, you would write it like the add method but set the customer to null.
Class Customer ... void removeOrder( Order arg ) { arg.setCustomer( null ); }