Package org.openwms.tms.routing
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 Summary
Modifier and TypeFieldDescriptionprivate @NotNull String
private @NotNull String
private boolean
private String
private String
private String
private String
private String
private String
private String
private @NotNull String
private @NotNull String
private @NotNull RouteImpl
Fields inherited from class org.ameba.integration.jpa.ApplicationEntity
C_ID
-
Constructor Summary
ConstructorDescriptionAction()
Just to satisfy the shitty mapper implementation this constructor needs to be public.Constructs an Action instance with the specified program key and description.Action
(RouteImpl route, String name, String locationKey, String locationGroupName, String actionType, String programKey, String description) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
getRoute()
int
hashCode()
boolean
void
setActionType
(String actionType) void
setEnabled
(boolean enabled) void
setLocationKey
(String locationKey) void
setPersistentKey
(String pKey) void
setProgramKey
(String programKey) void
toString()
Methods inherited from class org.ameba.integration.jpa.ApplicationEntity
getPersistentKey, hasPersistentKey, onEntityPersist, onPersist
Methods inherited from class org.ameba.integration.jpa.BaseEntity
getCreatedBy, getCreateDt, getLastModifiedBy, getLastModifiedDt, getOl, getPk, isNew, setCreatedBy, setCreateDt, setLastModifiedBy, setLastModifiedDt, setOl
-
Field Details
-
route
-
programKey
-
name
-
locationKey
-
locationGroupName
-
actionType
-
description
-
enabled
private boolean enabled -
flexField1
-
flexField2
-
flexField3
-
flexField4
-
flexField5
-
-
Constructor Details
-
Action
public Action()Just to satisfy the shitty mapper implementation this constructor needs to be public. -
Action
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
-
-
Method Details
-
setPersistentKey
- Overrides:
setPersistentKey
in classorg.ameba.integration.jpa.ApplicationEntity
-
getFlexVariables
-
getRoute
-
setRoute
-
getProgramKey
-
setProgramKey
-
getName
-
getLocationKey
-
setLocationKey
-
getLocationGroupName
-
getActionType
-
setActionType
-
getDescription
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getFlexField1
-
getFlexField2
-
getFlexField3
-
getFlexField4
-
getFlexField5
-
toString
-
equals
- Overrides:
equals
in classorg.ameba.integration.jpa.ApplicationEntity
-
hashCode
public int hashCode()- Overrides:
hashCode
in classorg.ameba.integration.jpa.ApplicationEntity
-