se.citerus.dddsample.domain.model.voyage
Class SampleVoyages

java.lang.Object
  extended by se.citerus.dddsample.domain.model.voyage.SampleVoyages

public class SampleVoyages
extends java.lang.Object

Sample carrier movements, for test purposes.


Field Summary
static java.util.Map<VoyageNumber,Voyage> ALL
           
static Voyage CM001
           
static Voyage CM002
           
static Voyage CM003
           
static Voyage CM004
           
static Voyage CM005
           
static Voyage CM006
           
static Voyage DALLAS_TO_HELSINKI
          Voyage number 0300A (by airplane) Dallas - Hamburg - Stockholm - Helsinki
static Voyage DALLAS_TO_HELSINKI_ALT
          Voyage number 0301S (by ship) Dallas - Hamburg - Stockholm - Helsinki, alternate route
static Voyage HELSINKI_TO_HONGKONG
          Voyage number 0400S (by ship) Helsinki - Rotterdam - Shanghai - Hongkong
static Voyage HONGKONG_TO_NEW_YORK
          Voyage number 0100S (by ship) Hongkong - Hangzou - Tokyo - Melbourne - New York
static Voyage NEW_YORK_TO_DALLAS
          Voyage number 0200T (by train) New York - Chicago - Dallas
static Voyage v100
           
static Voyage v200
           
static Voyage v300
           
static Voyage v400
           
 
Constructor Summary
SampleVoyages()
           
 
Method Summary
static java.util.List<Voyage> getAll()
           
static Voyage lookup(VoyageNumber voyageNumber)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CM001

public static final Voyage CM001

CM002

public static final Voyage CM002

CM003

public static final Voyage CM003

CM004

public static final Voyage CM004

CM005

public static final Voyage CM005

CM006

public static final Voyage CM006

v100

public static final Voyage v100

v200

public static final Voyage v200

v300

public static final Voyage v300

v400

public static final Voyage v400

HONGKONG_TO_NEW_YORK

public static final Voyage HONGKONG_TO_NEW_YORK
Voyage number 0100S (by ship) Hongkong - Hangzou - Tokyo - Melbourne - New York


NEW_YORK_TO_DALLAS

public static final Voyage NEW_YORK_TO_DALLAS
Voyage number 0200T (by train) New York - Chicago - Dallas


DALLAS_TO_HELSINKI

public static final Voyage DALLAS_TO_HELSINKI
Voyage number 0300A (by airplane) Dallas - Hamburg - Stockholm - Helsinki


DALLAS_TO_HELSINKI_ALT

public static final Voyage DALLAS_TO_HELSINKI_ALT
Voyage number 0301S (by ship) Dallas - Hamburg - Stockholm - Helsinki, alternate route


HELSINKI_TO_HONGKONG

public static final Voyage HELSINKI_TO_HONGKONG
Voyage number 0400S (by ship) Helsinki - Rotterdam - Shanghai - Hongkong


ALL

public static final java.util.Map<VoyageNumber,Voyage> ALL
Constructor Detail

SampleVoyages

public SampleVoyages()
Method Detail

getAll

public static java.util.List<Voyage> getAll()

lookup

public static Voyage lookup(VoyageNumber voyageNumber)


Copyright © 2009. All Rights Reserved.