Package org.openwms.transactions.api
Class TransactionVO
java.lang.Object
org.springframework.hateoas.RepresentationModel<TransactionVO>
org.ameba.http.AbstractBase<TransactionVO>
org.openwms.transactions.api.TransactionVO
A TransactionVO.
- Author:
- Heiko Scherrer
-
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 @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 @NotEmpty(groups=Create.class) @Size(max=255) StringA defined transaction type or key.Fields inherited from class org.ameba.http.AbstractBase
DATETIME_FORMAT_ZULU -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanAll fields.getpKey()getType()inthashCode()All fields.voidsetCategory(String category) voidsetCreatedByUser(String createdByUser) voidsetDescription(String description) voidsetDetails(Map<String, String> details) voidvoidvoidsetSenderId(String senderId) voidtoString()All fields.Methods inherited from class org.ameba.http.AbstractBase
getCreateDt, getLastModifiedDt, getOl, setCreateDt, setLastModifiedDt, setOlMethods inherited from class org.springframework.hateoas.RepresentationModel
add, add, add, addAllIf, addIf, getLink, getLink, getLinks, getLinks, getLinks, getRequiredLink, getRequiredLink, hasLink, hasLink, hasLinks, mapLink, mapLinkIf, of, of, removeLinks
-
Field Details
-
MEDIA_TYPE
HTTP media type representation.- 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
@NotEmpty(groups=Create.class) @Size(max=255) private @NotEmpty(groups=Create.class) @Size(max=255) String typeA defined transaction type or key. -
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. -
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
-
getSender
-
setSender
-
getSenderId
-
setSenderId
-
getCategory
-
setCategory
-
getDetails
-
setDetails
-
addDetail
-
equals
All fields.- Overrides:
equalsin classorg.ameba.http.AbstractBase<TransactionVO>
-
hashCode
public int hashCode()All fields.- Overrides:
hashCodein classorg.ameba.http.AbstractBase<TransactionVO>
-
toString
All fields.- Overrides:
toStringin classorg.springframework.hateoas.RepresentationModel<TransactionVO>
-