Package org.openwms.core.uaa.api
Class SecurityObjectVO<T extends SecurityObjectVO<T>>
java.lang.Object
org.springframework.hateoas.RepresentationModel<T>
org.ameba.http.AbstractBase<T>
org.openwms.core.uaa.api.SecurityObjectVO<T>
- All Implemented Interfaces:
Serializable
public class SecurityObjectVO<T extends SecurityObjectVO<T>>
extends org.ameba.http.AbstractBase<T>
implements Serializable
A SecurityObjectVO encapsulates common attributes of roles and grants.
- Author:
- Heiko Scherrer
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprivate String
A descriptive text for the SecurityObject.static final String
HTTP media type representation.private @NotBlank(groups={Create.class,Modify.class}) String
Unique name of the SecurityObject.private String
The persistent key.Fields inherited from class org.ameba.http.AbstractBase
DATETIME_FORMAT_ZULU
-
Constructor Summary
-
Method Summary
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
The persistent key. -
name
@NotBlank(groups={Create.class,Modify.class}) private @NotBlank(groups={Create.class,Modify.class}) String nameUnique name of the SecurityObject. -
description
A descriptive text for the SecurityObject.
-
-
Constructor Details
-
SecurityObjectVO
public SecurityObjectVO()
-
-
Method Details
-
getpKey
-
setpKey
-
getName
-
setName
-
getDescription
-
setDescription
-
equals
All fields.- Overrides:
equals
in classorg.ameba.http.AbstractBase<T extends SecurityObjectVO<T>>
-
hashCode
public int hashCode()All fields.- Overrides:
hashCode
in classorg.ameba.http.AbstractBase<T extends SecurityObjectVO<T>>
-
toString
Name only.- Overrides:
toString
in classorg.springframework.hateoas.RepresentationModel<T extends SecurityObjectVO<T>>
-