Class TransactionVO
java.lang.Object
org.springframework.hateoas.RepresentationModel<TransactionVO>
org.ameba.http.AbstractBase<TransactionVO>
org.openwms.common.spi.transactions.TransactionVO
A TransactionVO.
- Author:
- Heiko Scherrer
-
Field Summary
Modifier and TypeFieldDescriptionprivate @Size(max=255) String
The human user or system that initiated the Transaction.private @Size(max=2048) String
A human readable descriptive text of the Transaction that happened.Arbitrary detail information with values according to the specific Transaction.static final String
HTTP media type representation.private @Null(groups=Create.class) @Size(max=255) String
The persistent key.private @Size(max=255) String
The service name that created the Transaction.private @NotEmpty(groups=Create.class) @Size(max=255) String
A defined transaction type or key.Fields inherited from class org.ameba.http.AbstractBase
DATETIME_FORMAT_ZULU
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
getpKey()
getType()
int
hashCode()
void
setCreatedByUser
(String createdByUser) void
setDescription
(String description) void
setDetails
(Map<String, String> details) void
void
void
toString()
Methods inherited from class org.ameba.http.AbstractBase
getCreateDt, getLastModifiedDt, getOl, setCreateDt, setLastModifiedDt, setOl
Methods 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. -
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
-
getDetails
-
setDetails
-
addDetail
-
equals
- Overrides:
equals
in classorg.springframework.hateoas.RepresentationModel<TransactionVO>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classorg.springframework.hateoas.RepresentationModel<TransactionVO>
-
toString
- Overrides:
toString
in classorg.springframework.hateoas.RepresentationModel<TransactionVO>
-