Class DomainEntityId
java.lang.Object
ch.tocco.nice2.persist.history.api.DomainEntityId
Locates a concrete domain entity in the history. It is comprised of three non-null
values:
- entity model
- primary key
- version
DomainEntityId.Builder
class to create objects of this type:
DomainEntityId did = DomainEntityId.create("Address").withKey("1").withVersion("af2d");
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
This builder can be used to createDomainEntityId
s more conveniently. -
Method Summary
Modifier and TypeMethodDescriptionstatic DomainEntityId.Builder
create
(EntityModel model) static DomainEntityId.Builder
boolean
int
hashCode()
toString()