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 critical.Gets description.getLabel()
Gets label.int
hashCode()
boolean
Is has any selected children boolean.boolean
Is has children.void
Sets code.void
setCritical
(Boolean critical) Sets critical.void
setDescription
(String description) Sets description.void
setHasAnySelectedChildren
(boolean hasAnySelectedChildren) Sets has any selected children.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:
-
HAS_ANY_SELECTED_CHILDREN_FIELD
The constant HAS_ANY_SELECTED_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
-
getCritical
Gets critical.- Returns:
- the critical
-
setCritical
Sets critical.- Parameters:
critical
- the critical
-
isHasChildren
public boolean isHasChildren()Is has children.- Returns:
- the boolean
-
setHasChildren
public void setHasChildren(boolean hasChildren) Sets has children.- Parameters:
hasChildren
- the has children
-
isHasAnySelectedChildren
public boolean isHasAnySelectedChildren()Is has any selected children boolean.- Returns:
- the boolean
-
setHasAnySelectedChildren
public void setHasAnySelectedChildren(boolean hasAnySelectedChildren) Sets has any selected children.- Parameters:
hasAnySelectedChildren
- the has any selected 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>
-