se.citerus.dddsample.domain.model.location
Class SampleLocations

java.lang.Object
  extended by se.citerus.dddsample.domain.model.location.SampleLocations

public class SampleLocations
extends java.lang.Object

Sample locations, for test purposes.


Field Summary
static java.util.Map<UnLocode,Location> ALL
           
static Location CHICAGO
           
static Location DALLAS
           
static Location GOTHENBURG
           
static Location HAMBURG
           
static Location HANGZOU
           
static Location HELSINKI
           
static Location HONGKONG
           
static Location MELBOURNE
           
static Location NEWYORK
           
static Location ROTTERDAM
           
static Location SHANGHAI
           
static Location STOCKHOLM
           
static Location TOKYO
           
 
Constructor Summary
SampleLocations()
           
 
Method Summary
static java.util.List<Location> getAll()
           
static Location lookup(UnLocode unLocode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HONGKONG

public static final Location HONGKONG

MELBOURNE

public static final Location MELBOURNE

STOCKHOLM

public static final Location STOCKHOLM

HELSINKI

public static final Location HELSINKI

CHICAGO

public static final Location CHICAGO

TOKYO

public static final Location TOKYO

HAMBURG

public static final Location HAMBURG

SHANGHAI

public static final Location SHANGHAI

ROTTERDAM

public static final Location ROTTERDAM

GOTHENBURG

public static final Location GOTHENBURG

HANGZOU

public static final Location HANGZOU

NEWYORK

public static final Location NEWYORK

DALLAS

public static final Location DALLAS

ALL

public static final java.util.Map<UnLocode,Location> ALL
Constructor Detail

SampleLocations

public SampleLocations()
Method Detail

getAll

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

lookup

public static Location lookup(UnLocode unLocode)


Copyright © 2009. All Rights Reserved.