se.citerus.dddsample.interfaces.booking.facade.dto
Class LegDTO
java.lang.Object
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
-
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.