Class HvlOAuthAuthorityDataModel
java.lang.Object
tr.com.havelsan.javarch.dto.model.HvlSimpleModel<Long>
tr.com.havelsan.javarch.dto.model.HvlModel
tr.com.havelsan.javarch.oauth.jpa.data.common.module.authority.model.projection.HvlOAuthAuthorityDataModel
- All Implemented Interfaces:
Serializable
,Comparable<tr.com.havelsan.javarch.dto.model.HvlSimpleModel>
,tr.com.havelsan.javarch.data.commons.structure.HvlModelStructure<Long>
- Direct Known Subclasses:
HvlOAuthAuthorityClaimDataModel
public class HvlOAuthAuthorityDataModel
extends tr.com.havelsan.javarch.dto.model.HvlModel
A data transfer object is used for authority operations.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getCode()
Gets code.Gets description.getLabel()
Gets label.int
hashCode()
boolean
Is has children.void
Sets code.void
setDescription
(String description) Sets description.void
setHasChildren
(boolean hasChildren) Sets has children.void
Sets label.Methods inherited from class tr.com.havelsan.javarch.dto.model.HvlModel
getId, setId
Methods inherited from class tr.com.havelsan.javarch.dto.model.HvlSimpleModel
compareTo, getCreatedBy, getDateCreated, getDateUpdated, getDeleted, getDeletedDate, getUpdatedBy, getUuid, getVersion, setCreatedBy, setDateCreated, setDateUpdated, setDeleted, setDeletedDate, setUpdatedBy, setUuid, setVersion
-
Field Details
-
HAS_CHILDREN_FIELD
The constant HAS_CHILDREN_FIELD.- See Also:
-
-
Constructor Details
-
HvlOAuthAuthorityDataModel
public HvlOAuthAuthorityDataModel()
-
-
Method Details
-
getCode
Gets code.- Returns:
- the code
-
setCode
Sets code.- Parameters:
code
- the code
-
getLabel
Gets label.- Returns:
- the label
-
setLabel
Sets label.- Parameters:
label
- the label
-
getDescription
Gets description.- Returns:
- the description
-
setDescription
Sets description.- Parameters:
description
- the description
-
isHasChildren
public boolean isHasChildren()Is has children.- Returns:
- the boolean
-
setHasChildren
public void setHasChildren(boolean hasChildren) Sets has children.- Parameters:
hasChildren
- the has children
-
equals
- Overrides:
equals
in classtr.com.havelsan.javarch.dto.model.HvlSimpleModel<Long>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classtr.com.havelsan.javarch.dto.model.HvlSimpleModel<Long>
-