Package com.totvs.tjf.core.common.domain
Interface IdentifiableDomainObject<K extends Serializable>
-
- Type Parameters:
K- type of identifier.
- All Superinterfaces:
DomainObject
- All Known Implementing Classes:
AbstractDomainAggregate,AbstractDomainEntity,AbstractEntity
public interface IdentifiableDomainObject<K extends Serializable> extends DomainObject
Interface for domain object unique.- Author:
- Thiago A. de Souza Weber
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KgetId()Return the identifier.
-
-
-
Method Detail
-
getId
@Nullable K getId()
Return the identifier.- Returns:
- id or
null.
-
-