se.citerus.dddsample.interfaces.booking.facade.dto
Class RouteCandidateDTO

java.lang.Object
  extended by se.citerus.dddsample.interfaces.booking.facade.dto.RouteCandidateDTO
All Implemented Interfaces:
java.io.Serializable

public final class RouteCandidateDTO
extends java.lang.Object
implements java.io.Serializable

DTO for presenting and selecting an itinerary from a collection of candidates.

See Also:
Serialized Form

Constructor Summary
RouteCandidateDTO(java.util.List<LegDTO> legs)
          Constructor.
 
Method Summary
 java.util.List<LegDTO> getLegs()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RouteCandidateDTO

public RouteCandidateDTO(java.util.List<LegDTO> legs)
Constructor.

Parameters:
legs - The legs for this itinerary.
Method Detail

getLegs

public java.util.List<LegDTO> getLegs()
Returns:
An unmodifiable list DTOs.


Copyright © 2009. All Rights Reserved.