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
FieldsModifier and TypeFieldDescriptionprivate @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 @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 TypeMethodDescriptionvoidbooleangetpKey()getType()inthashCode()voidsetCreatedByUser(String createdByUser) voidsetDescription(String description) voidsetDetails(Map<String, String> details) voidvoidvoidtoString()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. - 
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:
 equalsin classorg.ameba.http.AbstractBase<TransactionVO>
 - 
hashCode
public int hashCode()- Overrides:
 hashCodein classorg.ameba.http.AbstractBase<TransactionVO>
 - 
toString
- Overrides:
 toStringin classorg.springframework.hateoas.RepresentationModel<TransactionVO>
 
 -