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) 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. -
Constructor Summary
Constructors -
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
-
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
-
Method Details
-
getpKey
-
setpKey
-
getDescription
-
setDescription
-
getType
-
setType
-
getCreatedByUser
-
setCreatedByUser
-
getSender
-
setSender
-
getDetails
-
setDetails
-
addDetail
-
equals
- Overrides:
equals
in classorg.ameba.http.AbstractBase<TransactionVO>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classorg.ameba.http.AbstractBase<TransactionVO>
-
toString
- Overrides:
toString
in classorg.springframework.hateoas.RepresentationModel<TransactionVO>
-