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
FieldsModifier and TypeFieldDescriptionprivate @NotBlank Stringprivate @NotBlank Stringprivate booleanprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate @NotBlank Stringprivate @NotBlank Stringprivate @NotNull RouteImplFields inherited from class org.ameba.integration.jpa.ApplicationEntity
C_ID -
Constructor Summary
ConstructorsConstructorDescriptionAction()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 TypeMethodDescriptionbooleangetName()getRoute()inthashCode()booleanvoidsetActionType(String actionType) voidsetDescription(String description) voidsetEnabled(boolean enabled) voidsetLocationGroupName(String locationGroupName) voidsetLocationKey(String locationKey) voidvoidsetPersistentKey(String pKey) voidsetProgramKey(String programKey) voidtoString()Methods inherited from class org.ameba.integration.jpa.ApplicationEntity
getPersistentKey, hasPersistentKey, onEntityPersist, onPersistMethods 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:
setPersistentKeyin classorg.ameba.integration.jpa.ApplicationEntity
-
getFlexVariables
-
getRoute
-
setRoute
-
getProgramKey
-
setProgramKey
-
getName
-
setName
-
getLocationKey
-
setLocationKey
-
getLocationGroupName
-
setLocationGroupName
-
getActionType
-
setActionType
-
getDescription
-
setDescription
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getFlexField1
-
getFlexField2
-
getFlexField3
-
getFlexField4
-
getFlexField5
-
toString
-
equals
- Overrides:
equalsin classorg.ameba.integration.jpa.ApplicationEntity
-
hashCode
public int hashCode()- Overrides:
hashCodein classorg.ameba.integration.jpa.ApplicationEntity
-