Class Action

java.lang.Object
org.ameba.integration.jpa.BaseEntity
org.ameba.integration.jpa.ApplicationEntity
org.openwms.tms.routing.Action
All Implemented Interfaces:
Serializable, org.ameba.integration.TypedEntity<Long>

@Entity public class Action extends org.ameba.integration.jpa.ApplicationEntity
An Action declares what needs to be done (executed) in case an event or trigger occurs at a given Location or LocationGroup.
Author:
Heiko Scherrer
See Also:
  • Field Details

    • route

      @NotNull private @NotNull RouteImpl route
    • programKey

      @NotNull private @NotNull String programKey
    • name

      @NotNull private @NotNull String name
    • locationKey

      private String locationKey
    • locationGroupName

      private String locationGroupName
    • actionType

      @NotNull private @NotNull String actionType
    • description

      @NotNull private @NotNull String description
    • enabled

      private boolean enabled
    • flexField1

      private String flexField1
    • flexField2

      private String flexField2
    • flexField3

      private String flexField3
    • flexField4

      private String flexField4
    • flexField5

      private String flexField5
  • Constructor Details

    • Action

      public Action()
      Just to satisfy the shitty mapper implementation this constructor needs to be public.
    • Action

      public Action(@NotBlank @NotBlank String programKey, String description)
      Constructs an Action instance with the specified program key and description.
      Parameters:
      programKey - The key that uniquely identifies the program. Must not be blank.
      description - A textual description of the action.
    • Action

      public Action(RouteImpl route, String name, String locationKey, String locationGroupName, String actionType, String programKey, String description)
  • Method Details

    • setPersistentKey

      public void setPersistentKey(String pKey)
      Overrides:
      setPersistentKey in class org.ameba.integration.jpa.ApplicationEntity
    • getFlexVariables

      public Map<String,Object> getFlexVariables()
    • getRoute

      public RouteImpl getRoute()
    • setRoute

      public void setRoute(RouteImpl route)
    • getProgramKey

      public String getProgramKey()
    • setProgramKey

      public void setProgramKey(String programKey)
    • getName

      public String getName()
    • getLocationKey

      public String getLocationKey()
    • setLocationKey

      public void setLocationKey(String locationKey)
    • getLocationGroupName

      public String getLocationGroupName()
    • getActionType

      public String getActionType()
    • setActionType

      public void setActionType(String actionType)
    • getDescription

      public String getDescription()
    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
    • getFlexField1

      public String getFlexField1()
    • getFlexField2

      public String getFlexField2()
    • getFlexField3

      public String getFlexField3()
    • getFlexField4

      public String getFlexField4()
    • getFlexField5

      public String getFlexField5()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class org.ameba.integration.jpa.ApplicationEntity
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class org.ameba.integration.jpa.ApplicationEntity