Class HvlOAuthProfileGroup
java.lang.Object
tr.com.havelsan.javarch.domain.model.entity.HvlSimpleEntity<Long>
tr.com.havelsan.javarch.domain.model.entity.HvlEntity
tr.com.havelsan.javarch.domain.model.entity.HvlSoftDeleteEntity
tr.com.havelsan.javarch.oauth.jpa.data.provider.module.profile.entity.HvlOAuthProfileGroup
- All Implemented Interfaces:
Serializable
,Comparable<tr.com.havelsan.javarch.domain.model.entity.HvlSimpleEntity>
,tr.com.havelsan.javarch.data.commons.structure.HvlEntityStructure<Long>
@Entity
public class HvlOAuthProfileGroup
extends tr.com.havelsan.javarch.domain.model.entity.HvlSoftDeleteEntity
An entity classwhich is used for grouping profiles for managing them together easily
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The constant DESCRIPTION_FIELD_COLUMN.static final String
The constant ENABLED_FIELD_COLUMN.static final String
The constant NAME_FIELD_COLUMN.static final String
The constant NAME_INDEX.protected static final String
The constant NAME_UNIQUE_KEY.protected static final String
The constant TABLE_NAME.static final String
The constant UUID_UNIQUE_KEY.Fields inherited from class tr.com.havelsan.javarch.domain.model.entity.HvlSoftDeleteEntity
DELETED_DATE_FIELD, DELETED_DATE_FIELD_COLUMN, DELETED_FIELD, DELETED_FIELD_COLUMN
Fields inherited from class tr.com.havelsan.javarch.domain.model.entity.HvlSimpleEntity
CREATED_BY_FIELD, CREATED_BY_FIELD_COLUMN, CREATED_DATE_FIELD, CREATED_DATE_FIELD_COLUMN, ID_FIELD, ID_FIELD_COLUMN, UPDATED_BY_FIELD, UPDATED_BY_FIELD_COLUMN, UPDATED_DATE_FIELD, UPDATED_DATE_FIELD_COLUMN, UUID_FIELD, UUID_FIELD_COLUMN, VERSION_FIELD, VERSION_FIELD_COLUMN
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets description.getName()
Gets name.int
hashCode()
boolean
Is enabled boolean.void
setDescription
(String description) Sets description.void
setEnabled
(boolean enabled) Sets enabled.void
Sets name.Methods inherited from class tr.com.havelsan.javarch.domain.model.entity.HvlSoftDeleteEntity
getDeleted, getDeletedDate, setDeleted, setDeletedDate
Methods inherited from class tr.com.havelsan.javarch.domain.model.entity.HvlEntity
getId, setId
Methods inherited from class tr.com.havelsan.javarch.domain.model.entity.HvlSimpleEntity
compareTo, getCreatedBy, getDateCreated, getDateUpdated, getUpdatedBy, getUuid, getVersion, setCreatedBy, setDateCreated, setDateUpdated, setUpdatedBy, setUuid, setVersion
-
Field Details
-
TABLE_NAME
The constant TABLE_NAME.- See Also:
-
NAME_FIELD_COLUMN
The constant NAME_FIELD_COLUMN.- See Also:
-
DESCRIPTION_FIELD_COLUMN
The constant DESCRIPTION_FIELD_COLUMN.- See Also:
-
ENABLED_FIELD_COLUMN
The constant ENABLED_FIELD_COLUMN.- See Also:
-
UUID_UNIQUE_KEY
The constant UUID_UNIQUE_KEY.- See Also:
-
NAME_UNIQUE_KEY
The constant NAME_UNIQUE_KEY.- See Also:
-
NAME_INDEX
The constant NAME_INDEX.- See Also:
-
-
Constructor Details
-
HvlOAuthProfileGroup
public HvlOAuthProfileGroup()
-
-
Method Details
-
getName
Gets name.- Returns:
- the name
-
setName
Sets name.- Parameters:
name
- the name
-
getDescription
Gets description.- Returns:
- the description
-
setDescription
Sets description.- Parameters:
description
- the description
-
isEnabled
public boolean isEnabled()Is enabled boolean.- Returns:
- the boolean
-
setEnabled
public void setEnabled(boolean enabled) Sets enabled.- Parameters:
enabled
- the enabled
-
equals
- Overrides:
equals
in classtr.com.havelsan.javarch.domain.model.entity.HvlSimpleEntity<Long>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classtr.com.havelsan.javarch.domain.model.entity.HvlSimpleEntity<Long>
-