Package org.openwms.common.account.api
Class AccountVO
java.lang.Object
org.springframework.hateoas.RepresentationModel<AccountVO>
org.openwms.common.account.api.AccountVO
- All Implemented Interfaces:
Serializable
public class AccountVO
extends org.springframework.hateoas.RepresentationModel<AccountVO>
implements Serializable
A AccountVO is the representation object that encapsulates identifying information about the actual cost center.
- Author:
- Heiko Scherrer
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate LocalDateTime
Timestamp when theAccount
has been created.private @NotBlank String
Unique identifier.static final String
HTTP media type representation.private @NotBlank String
Name.private String
The persistent technical key of theAccount
. -
Constructor Summary
Constructors -
Method Summary
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
The persistent technical key of theAccount
. -
identifier
Unique identifier. -
name
Name. -
createDt
Timestamp when theAccount
has been created.
-
-
Constructor Details
-
AccountVO
public AccountVO()
-
-
Method Details
-
getpKey
-
setpKey
-
getIdentifier
-
setIdentifier
-
getName
-
setName
-
equals
All fields.- Overrides:
equals
in classorg.springframework.hateoas.RepresentationModel<AccountVO>
-
hashCode
public int hashCode()All fields.- Overrides:
hashCode
in classorg.springframework.hateoas.RepresentationModel<AccountVO>
-
toString
All fields.- Overrides:
toString
in classorg.springframework.hateoas.RepresentationModel<AccountVO>
-