Class HvlOAuthAuthorityTagRel
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.authority.entity.HvlOAuthAuthorityTagRel
- 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 HvlOAuthAuthorityTagRel
extends tr.com.havelsan.javarch.domain.model.entity.HvlSoftDeleteEntity
An entity class which defines authority tag fields
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The constant AUTHORITY_FIELD.static final String
The constant AUTHORITY_ID_FIELD_COLUMN.static final String
The constant AUTHORITY_ID_FOREIGN_KEY.static final String
The constant AUTHORITY_ID_INDEX.static final String
The constant UUID_UNIQUE_KEY.static final String
The constant TABLE_NAME.static final String
The constant TAG_FIELD.static final String
The constant TAG_ID_FIELD_COLUMN.static final String
The constant TAG_ID_FOREIGN_KEY.static final String
The constant TAG_ID_INDEX.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 authority.Gets authority id.getTag()
Gets tag.getTagId()
Gets tag id.int
hashCode()
void
setAuthority
(HvlOAuthAuthority authority) Sets authority.void
setAuthorityId
(Long authorityId) Sets authority id.void
setTag
(HvlOAuthTag tag) Sets tag.void
Sets tag id.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:
-
AUTHORITY_ID_FIELD_COLUMN
The constant AUTHORITY_ID_FIELD_COLUMN.- See Also:
-
TAG_ID_FIELD_COLUMN
The constant TAG_ID_FIELD_COLUMN.- See Also:
-
AUTHORITY_ID_FOREIGN_KEY
The constant AUTHORITY_ID_FOREIGN_KEY.- See Also:
-
TAG_ID_FOREIGN_KEY
The constant TAG_ID_FOREIGN_KEY.- See Also:
-
UUID_UNIQUE_KEY
The constant UUID_UNIQUE_KEY.- See Also:
-
AUTHORITY_TAG_REL_UNIQUE_KEY
The constant UUID_UNIQUE_KEY.- See Also:
-
AUTHORITY_ID_INDEX
The constant AUTHORITY_ID_INDEX.- See Also:
-
TAG_ID_INDEX
The constant TAG_ID_INDEX.- See Also:
-
AUTHORITY_FIELD
The constant AUTHORITY_FIELD.- See Also:
-
TAG_FIELD
The constant TAG_FIELD.- See Also:
-
-
Constructor Details
-
HvlOAuthAuthorityTagRel
public HvlOAuthAuthorityTagRel()
-
-
Method Details
-
getAuthorityId
Gets authority id.- Returns:
- the authority id
-
setAuthorityId
Sets authority id.- Parameters:
authorityId
- the authority id
-
getTagId
Gets tag id.- Returns:
- the tag id
-
setTagId
Sets tag id.- Parameters:
tagId
- the tag id
-
getAuthority
Gets authority.- Returns:
- the authority
-
setAuthority
Sets authority.- Parameters:
authority
- the authority
-
getTag
Gets tag.- Returns:
- the tag
-
setTag
Sets tag.- Parameters:
tag
- the tag
-
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>
-