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 LocalDateTimeTimestamp when theAccounthas been created.private @NotBlank StringUnique identifier.static final StringHTTP media type representation.private @NotBlank StringName.private StringThe 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 theAccounthas been created.
-
-
Constructor Details
-
AccountVO
public AccountVO()
-
-
Method Details
-
getpKey
-
setpKey
-
getIdentifier
-
setIdentifier
-
getName
-
setName
-
equals
All fields.- Overrides:
equalsin classorg.springframework.hateoas.RepresentationModel<AccountVO>
-
hashCode
public int hashCode()All fields.- Overrides:
hashCodein classorg.springframework.hateoas.RepresentationModel<AccountVO>
-
toString
All fields.- Overrides:
toStringin classorg.springframework.hateoas.RepresentationModel<AccountVO>
-