Interface Identifiable<K>

Type Parameters:
K - id type
All Known Subinterfaces:
EasyDeskGroup, EasyDeskPermission, EasyDeskRole, EasyDeskUser, Group, Module, Permission, Role, SecurityEntity<K>, User
All Known Implementing Classes:
ActivitySetType, AttachmentType, Attribute, AttributeGroup, AttributeGroupType, AttributeOption, AttributeType, DependType, EasyDeskGroupImpl, EasyDeskModule, EasyDeskPermissionImpl, EasyDeskRoleImpl, EasyDeskUserImpl, Item, ItemSearchImpl, ItemType, NotificationType, OptionRelationship, Scope, TemplateModule, TimeScope

public interface Identifiable<K>
db id 로 식별되는 entity 의 계약.

System Entity Enum(Entitiable) 을 도입하면서 SecurityEntity 에서 Identifiable 을 분리했다.

Author:
Youngho Cho
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the Id of the Identifiable Entity.
    void
    setId(K id)
    Sets the Id of the Identifiable Entity.
  • Method Details

    • getId

      K getId()
      Get the Id of the Identifiable Entity.
      Returns:
      The Id of the entity.
    • setId

      void setId(K id)
      Sets the Id of the Identifiable Entity.
      Parameters:
      id - The new Id of the entity