se.citerus.dddsample.interfaces.tracking
Class CargoTrackingViewAdapter.HandlingEventViewAdapter
java.lang.Object
se.citerus.dddsample.interfaces.tracking.CargoTrackingViewAdapter.HandlingEventViewAdapter
- Enclosing class:
- CargoTrackingViewAdapter
public final class CargoTrackingViewAdapter.HandlingEventViewAdapter
- extends java.lang.Object
Handling event view adapter component.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CargoTrackingViewAdapter.HandlingEventViewAdapter
public CargoTrackingViewAdapter.HandlingEventViewAdapter(HandlingEvent handlingEvent)
- Constructor.
- Parameters:
handlingEvent
- handling event
getLocation
public java.lang.String getLocation()
- Returns:
- Location where the event occurred.
getTime
public java.lang.String getTime()
- Returns:
- Time when the event was completed.
getType
public java.lang.String getType()
- Returns:
- Type of event.
getVoyageNumber
public java.lang.String getVoyageNumber()
- Returns:
- Voyage number, or empty string if not applicable.
isExpected
public boolean isExpected()
- Returns:
- True if the event was expected, according to the cargo's itinerary.
getDescription
public java.lang.String getDescription()
Copyright © 2009. All Rights Reserved.