Class DomainEntityId

java.lang.Object
ch.tocco.nice2.persist.history.api.DomainEntityId

public final class DomainEntityId extends Object
Locates a concrete domain entity in the history. It is comprised of three non-null values:
  • entity model
  • primary key
  • version
Please use the nested DomainEntityId.Builder class to create objects of this type:

 DomainEntityId did = DomainEntityId.create("Address").withKey("1").withVersion("af2d");