Class TransactionEO
java.lang.Object
org.ameba.integration.jpa.BaseEntity
org.ameba.integration.jpa.ApplicationEntity
org.openwms.transactions.impl.jpa.TransactionEO
- All Implemented Interfaces:
Serializable,org.ameba.integration.TypedEntity<Long>
@Entity
public class TransactionEO
extends org.ameba.integration.jpa.ApplicationEntity
implements Serializable
A TransactionEO.
- Author:
- Heiko Scherrer
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringA category name, like Reconciliation or Replenishment the Transaction is part of.private StringThe human user or system that initiated the Transaction.private @Size(max=2048) StringA human-readable descriptive text of the Transaction that happened.Arbitrary detail information with values according to the specific Transaction.private StringThe service name that created the Transaction.private StringAn id to a dataset the Transaction is related to.private StringAn id to the request (business transaction) the Transaction was created in.private @NotBlank StringA defined transaction type that can be used as a key to the custom specific Transaction.Fields inherited from class org.ameba.integration.jpa.ApplicationEntity
C_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAll fields.getType()inthashCode()All fields.voidsetCategory(String category) voidsetCreatedByUser(String createdByUser) voidsetCreateDt(LocalDateTime createDt) Make available for mapper.voidsetDescription(String description) voidsetDetails(Map<String, String> details) voidsetPersistentKey(String pKey) voidvoidsetSenderId(String senderId) voidsetTraceId(String traceId) voidtoString()All fields.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, setLastModifiedBy, setLastModifiedDt, setOl
-
Field Details
-
description
A human-readable descriptive text of the Transaction that happened. -
type
A defined transaction type that can be used as a key to the custom specific Transaction. -
createdByUser
The human user or system that initiated the Transaction. -
sender
The service name that created the Transaction. -
senderId
An id to a dataset the Transaction is related to. -
category
A category name, like Reconciliation or Replenishment the Transaction is part of. -
traceId
An id to the request (business transaction) the Transaction was created in. -
details
Arbitrary detail information with values according to the specific Transaction.
-
-
Constructor Details
-
TransactionEO
public TransactionEO()
-
-
Method Details
-
setPersistentKey
- Overrides:
setPersistentKeyin classorg.ameba.integration.jpa.ApplicationEntity
-
getDescription
-
setDescription
-
getType
-
setType
-
getCreatedByUser
-
setCreatedByUser
-
getSender
-
setSender
-
getSenderId
-
setSenderId
-
getCategory
-
setCategory
-
getTraceId
-
setTraceId
-
getDetails
-
setDetails
-
setCreateDt
Make available for mapper.- Overrides:
setCreateDtin classorg.ameba.integration.jpa.BaseEntity
-
equals
All fields.- Overrides:
equalsin classorg.ameba.integration.jpa.ApplicationEntity
-
hashCode
public int hashCode()All fields.- Overrides:
hashCodein classorg.ameba.integration.jpa.ApplicationEntity
-
toString
All fields.
-