Package org.openwms.transactions.api
Class TransactionVO
java.lang.Object
org.openwms.transactions.api.TransactionVO
- All Implemented Interfaces:
Serializable
A TransactionVO.
- Author:
- Heiko Scherrer
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate @Size(max=255) StringA category name, like Reconciliation or Replenishment the Transaction is part of.private @Size(max=255) StringThe human user or system that initiated the Transaction.private DateWhen the Transaction has been created in the system.static final Stringprivate @Size(max=2048) StringA human-readable descriptive text of the Transaction that happened.Arbitrary detail information with values according to the specific Transaction.static final StringHTTP media type representation.private @Null(groups=Create.class) @Size(max=255) StringThe persistent key.private @Size(max=255) StringThe service name that created the Transaction.private @Size(max=255) StringAn id to a dataset the Transaction is related to.private @Size(max=255) StringAn id to request (business transaction) the Transaction was part of.private @NotBlank(groups=Create.class) @Size(max=255) StringA defined transaction type that can be used as a key to the custom specific Transaction. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanAll fields.getpKey()getType()inthashCode()All fields.voidsetCategory(String category) voidsetCreatedByUser(String createdByUser) voidsetCreateDt(Date createDt) voidsetDescription(String description) voidsetDetails(Map<String, String> details) voidvoidvoidsetSenderId(String senderId) voidsetTraceId(String traceId) voidtoString()All fields.
-
Field Details
-
MEDIA_TYPE
HTTP media type representation.- See Also:
-
FIELD_NAMES
-
DATE_FORMAT_WITH_HOUR
- See Also:
-
pKey
@Null(groups=Create.class) @Size(max=255) private @Null(groups=Create.class) @Size(max=255) String pKeyThe persistent key. -
description
A human-readable descriptive text of the Transaction that happened. -
type
@NotBlank(groups=Create.class) @Size(max=255) private @NotBlank(groups=Create.class) @Size(max=255) String typeA 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. -
createDt
When the Transaction has been created in the system. -
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 request (business transaction) the Transaction was part of. -
details
Arbitrary detail information with values according to the specific Transaction.
-
-
Constructor Details
-
TransactionVO
public TransactionVO()
-
-
Method Details
-
getpKey
-
setpKey
-
getDescription
-
setDescription
-
getType
-
setType
-
getCreatedByUser
-
setCreatedByUser
-
getCreateDt
-
setCreateDt
-
getSender
-
setSender
-
getSenderId
-
setSenderId
-
getCategory
-
setCategory
-
getTraceId
-
setTraceId
-
getDetails
-
setDetails
-
addDetail
-
equals
All fields. -
hashCode
public int hashCode()All fields. -
toString
All fields.
-