import java.util.List; import java.util.ArrayList; public class Order { private ArrayList orderlines = new ArrayList<>(); public void scheduleForDelivery() { /* tbd */ } // there is also a Destination associated with this class, but the // diagram does not clarify the direction so it's not clear if // there would be a destination member. Later analysis would determine // this relationship. }