Class HvlOAuthAuthorityModel
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.HvlOAuthAuthorityModel
- All Implemented Interfaces:
Serializable
,Comparable<tr.com.havelsan.javarch.dto.model.HvlSimpleModel>
,tr.com.havelsan.javarch.data.commons.structure.HvlModelStructure<Long>
- Direct Known Subclasses:
HvlOAuthAuthorityPersistModel
public class HvlOAuthAuthorityModel
extends tr.com.havelsan.javarch.dto.model.HvlModel
A data transfer object is used for authority operations.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The constant AUTHORITY_ID_SET_FIELD_NAME.static final String
The constant CODE_FIELD_NAME.static final String
The constant CRITICAL_FIELD_NAME.static final String
The constant DESCRIPTION_FIELD_NAME.static final String
The constant LABEL_FIELD_NAME.static final String
The constant PARENT_FIELD_NAME. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getCode()
Gets code.Gets critical.Gets description.getLabel()
Gets label.Gets parent.int
hashCode()
void
Sets code.void
setCritical
(Boolean critical) Sets critical.void
setDescription
(String description) Sets description.void
Sets label.void
setParent
(HvlOAuthAuthorityModel parent) Sets parent.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
-
AUTHORITY_ID_SET_FIELD_NAME
The constant AUTHORITY_ID_SET_FIELD_NAME.- See Also:
-
CODE_FIELD_NAME
The constant CODE_FIELD_NAME.- See Also:
-
LABEL_FIELD_NAME
The constant LABEL_FIELD_NAME.- See Also:
-
DESCRIPTION_FIELD_NAME
The constant DESCRIPTION_FIELD_NAME.- See Also:
-
CRITICAL_FIELD_NAME
The constant CRITICAL_FIELD_NAME.- See Also:
-
PARENT_FIELD_NAME
The constant PARENT_FIELD_NAME.- See Also:
-
-
Constructor Details
-
HvlOAuthAuthorityModel
public HvlOAuthAuthorityModel()
-
-
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
-
getParent
Gets parent.- Returns:
- the parent
-
setParent
Sets parent.- Parameters:
parent
- the parent
-
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>
-