Class HvlOAuthRoleModel
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.role.model.HvlOAuthRoleModel
- All Implemented Interfaces:
Serializable
,Comparable<tr.com.havelsan.javarch.dto.model.HvlSimpleModel>
,tr.com.havelsan.javarch.data.commons.structure.HvlModelStructure<Long>
- Direct Known Subclasses:
HvlOAuthRolePersistModel
public class HvlOAuthRoleModel
extends tr.com.havelsan.javarch.dto.model.HvlModel
A data transfer object is used for role operations
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The constant CODE_FIELD_NAME.static final String
The constant ENABLED_FIELD_NAME.static final String
The constant HIERARCHICAL_FIELD_NAME.static final String
The constant NAME_FIELD_NAME.static final String
The constant PROXYABLE_FIELD_NAME.static final String
The constant ROLE_ID_FIELD_NAME.static final String
The constant ROLE_ID_SET_FIELD_NAME. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getCode()
Gets code.Gets description.getName()
Gets name.Gets proxyable.int
hashCode()
boolean
Is hierarchical boolean.void
Sets code.void
setDescription
(String description) Sets description.void
setHierarchical
(boolean hierarchical) Sets hierarchical.void
Sets name.void
setProxyable
(Boolean proxyable) Sets proxyable.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
-
NAME_FIELD_NAME
The constant NAME_FIELD_NAME.- See Also:
-
CODE_FIELD_NAME
The constant CODE_FIELD_NAME.- See Also:
-
PROXYABLE_FIELD_NAME
The constant PROXYABLE_FIELD_NAME.- See Also:
-
HIERARCHICAL_FIELD_NAME
The constant HIERARCHICAL_FIELD_NAME.- See Also:
-
ENABLED_FIELD_NAME
The constant ENABLED_FIELD_NAME.- See Also:
-
ROLE_ID_FIELD_NAME
The constant ROLE_ID_FIELD_NAME.- See Also:
-
ROLE_ID_SET_FIELD_NAME
The constant ROLE_ID_SET_FIELD_NAME.- See Also:
-
-
Constructor Details
-
HvlOAuthRoleModel
public HvlOAuthRoleModel()
-
-
Method Details
-
getName
Gets name.- Returns:
- the name
-
setName
Sets name.- Parameters:
name
- the name
-
getCode
Gets code.- Returns:
- the code
-
setCode
Sets code.- Parameters:
code
- the code
-
getProxyable
Gets proxyable.- Returns:
- the proxyable
-
setProxyable
Sets proxyable.- Parameters:
proxyable
- the proxyable
-
getDescription
Gets description.- Returns:
- the description
-
setDescription
Sets description.- Parameters:
description
- the description
-
isHierarchical
public boolean isHierarchical()Is hierarchical boolean.- Returns:
- the boolean
-
setHierarchical
public void setHierarchical(boolean hierarchical) Sets hierarchical.- Parameters:
hierarchical
- the hierarchical
-
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>
-