1 package se.citerus.dddsample.domain.model.voyage; 2 3 public interface VoyageRepository { 4 5 /** 6 * Finds a voyage using voyage number. 7 * 8 * @param voyageNumber voyage number 9 * @return The voyage, or null if not found. 10 */ 11 Voyage find(VoyageNumber voyageNumber); 12 13 }