Class TargetEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.openwms.core.event.RootApplicationEvent
org.openwms.common.location.api.events.TargetEvent
All Implemented Interfaces:
Serializable

public class TargetEvent extends org.openwms.core.event.RootApplicationEvent implements Serializable
A TargetEvent signals changes on Targets, like a Location or a LocationGroup.
Author:
Heiko Scherrer
See Also:
  • Field Details

    • targetBK

      private String targetBK
    • lockType

      private LockType lockType
    • operationMode

      private LockMode operationMode
    • reAllocation

      private Boolean reAllocation
  • Constructor Details

    • TargetEvent

      protected TargetEvent(String source)
      Create a new TargetEvent.
      Parameters:
      source - The business key of the Target, can be a LocationPK in String format or a LocationGroup name
    • TargetEvent

      private TargetEvent(TargetEvent.Builder builder)
  • Method Details

    • newBuilder

      public static TargetEvent.Builder newBuilder()
    • getTargetBK

      public String getTargetBK()
    • getLockType

      public LockType getLockType()
    • getOperationMode

      public LockMode getOperationMode()
    • getReAllocation

      public Boolean getReAllocation()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object