Package org.openwms.common.transport
Class TransportUnitEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.openwms.core.event.RootApplicationEvent
org.openwms.common.transport.TransportUnitEvent
- All Implemented Interfaces:
Serializable
public class TransportUnitEvent
extends org.openwms.core.event.RootApplicationEvent
A TransportUnitEvent.
- Author:
- Heiko Scherrer
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static enum
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ModifierConstructorDescriptionprivate
TransportUnitEvent
(org.openwms.common.transport.api.TransportUnitVO source, TransportUnitEvent.TransportUnitEventType type) private
-
Method Summary
Modifier and TypeMethodDescriptionorg.openwms.common.transport.api.TransportUnitVO
getType()
static TransportUnitEvent.Builder
static TransportUnitEvent
of
(org.openwms.common.transport.api.TransportUnitVO tu, TransportUnitEvent.TransportUnitEventType type) Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
toString
-
Field Details
-
type
-
-
Constructor Details
-
TransportUnitEvent
private TransportUnitEvent(org.openwms.common.transport.api.TransportUnitVO source, TransportUnitEvent.TransportUnitEventType type) -
TransportUnitEvent
-
-
Method Details
-
newBuilder
-
getType
-
getSource
public org.openwms.common.transport.api.TransportUnitVO getSource()- Overrides:
getSource
in classEventObject
-
of
public static TransportUnitEvent of(org.openwms.common.transport.api.TransportUnitVO tu, TransportUnitEvent.TransportUnitEventType type)
-