Метод | Описание | |
---|---|---|
HandlingEventFactory ( CargoRepository cargoRepository, VoyageRepository voyageRepository, LocationRepository locationRepository ) : System | ||
createHandlingEvent ( System.DateTime completionTime, TrackingId trackingId, VoyageNumber voyageNumber, UnLocode unlocode, HandlingActivityType type, OperatorCode operatorCode ) : HandlingEvent |
Creates a handling event.
|
Метод | Описание | |
---|---|---|
findCargo ( TrackingId trackingId ) : Cargo | ||
findLocation ( UnLocode unlocode ) : Location | ||
findVoyage ( VoyageNumber voyageNumber ) : Voyage |
public HandlingEventFactory ( CargoRepository cargoRepository, VoyageRepository voyageRepository, LocationRepository locationRepository ) : System | ||
cargoRepository | CargoRepository | |
voyageRepository | VoyageRepository | |
locationRepository | LocationRepository | |
Результат | System |
public createHandlingEvent ( System.DateTime completionTime, TrackingId trackingId, VoyageNumber voyageNumber, UnLocode unlocode, HandlingActivityType type, OperatorCode operatorCode ) : HandlingEvent | ||
completionTime | System.DateTime | when the event was completed, for example finished loading |
trackingId | TrackingId | cargo tracking id |
voyageNumber | VoyageNumber | voyage number |
unlocode | UnLocode | United Nations Location Code for the location of the event |
type | HandlingActivityType | type of event |
operatorCode | OperatorCode | operator code |
Результат | HandlingEvent |