Package org.openwms.wms.transport.events
Class TransportUnitEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.openwms.core.event.RootApplicationEvent
org.openwms.wms.transport.events.TransportUnitEvent
- All Implemented Interfaces:
Serializable
public final class TransportUnitEvent
extends org.openwms.core.event.RootApplicationEvent
implements Serializable
A TransportUnitEvent.
- Author:
- Heiko Scherrer
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
private String
private final TransportUnitEvent.TransportUnitEventType
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
-
Method Summary
Modifier and TypeMethodDescriptiongetType()
static TransportUnitEvent
Factory method to create a TransportUnitEvent from a given TransportUnit instance.Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
toString
-
Field Details
-
type
-
transportUnitBK
-
actualLocation
-
-
Constructor Details
-
TransportUnitEvent
-
-
Method Details
-
of
public static TransportUnitEvent of(TransportUnit tu, TransportUnitEvent.TransportUnitEventType type) Factory method to create a TransportUnitEvent from a given TransportUnit instance.- Parameters:
tu
- The TransportUnit instance must not be nulltype
- The type of event- Returns:
- The event instance
-
getSource
- Overrides:
getSource
in classEventObject
-
getType
-
getTransportUnitBK
-
getActualLocation
-