Package com.totvs.tjf.core.common.domain
Class DomainObjectId<T>
- java.lang.Object
-
- com.totvs.tjf.core.common.domain.DomainObjectId<T>
-
- All Implemented Interfaces:
DomainObject,ValueObject,Serializable
public abstract class DomainObjectId<T> extends Object implements Serializable, ValueObject
Base class for valuables that are used as identifiers forIdentifiableDomainObjects.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDomainObjectId(T id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)TgetId()Return identification.inthashCode()StringtoString()
-
-
-
Constructor Detail
-
DomainObjectId
protected DomainObjectId(@NonNull T id)
-
-