se.citerus.dddsample.interfaces.handling
Class HandlingEventRegistrationAttempt

java.lang.Object
  extended by se.citerus.dddsample.interfaces.handling.HandlingEventRegistrationAttempt
All Implemented Interfaces:
java.io.Serializable

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

This is a simple transfer object for passing incoming handling event registration attempts to proper the registration procedure. It is used as a message queue element.

See Also:
Serialized Form

Constructor Summary
HandlingEventRegistrationAttempt(java.util.Date registrationDate, java.util.Date completionDate, TrackingId trackingId, VoyageNumber voyageNumber, HandlingEvent.Type type, UnLocode unLocode)
           
 
Method Summary
 java.util.Date getCompletionTime()
           
 java.util.Date getRegistrationTime()
           
 TrackingId getTrackingId()
           
 HandlingEvent.Type getType()
           
 UnLocode getUnLocode()
           
 VoyageNumber getVoyageNumber()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HandlingEventRegistrationAttempt

public HandlingEventRegistrationAttempt(java.util.Date registrationDate,
                                        java.util.Date completionDate,
                                        TrackingId trackingId,
                                        VoyageNumber voyageNumber,
                                        HandlingEvent.Type type,
                                        UnLocode unLocode)
Method Detail

getCompletionTime

public java.util.Date getCompletionTime()

getTrackingId

public TrackingId getTrackingId()

getVoyageNumber

public VoyageNumber getVoyageNumber()

getType

public HandlingEvent.Type getType()

getUnLocode

public UnLocode getUnLocode()

getRegistrationTime

public java.util.Date getRegistrationTime()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2009. All Rights Reserved.