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

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

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

DTO for a leg in an itinerary.

See Also:
Serialized Form

Constructor Summary
LegDTO(java.lang.String voyageNumber, java.lang.String from, java.lang.String to, java.util.Date loadTime, java.util.Date unloadTime)
          Constructor.
 
Method Summary
 java.lang.String getFrom()
           
 java.util.Date getLoadTime()
           
 java.lang.String getTo()
           
 java.util.Date getUnloadTime()
           
 java.lang.String getVoyageNumber()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LegDTO

public LegDTO(java.lang.String voyageNumber,
              java.lang.String from,
              java.lang.String to,
              java.util.Date loadTime,
              java.util.Date unloadTime)
Constructor.

Parameters:
voyageNumber -
from -
to -
loadTime -
unloadTime -
Method Detail

getVoyageNumber

public java.lang.String getVoyageNumber()

getFrom

public java.lang.String getFrom()

getTo

public java.lang.String getTo()

getLoadTime

public java.util.Date getLoadTime()

getUnloadTime

public java.util.Date getUnloadTime()


Copyright © 2009. All Rights Reserved.