S
- the State typeC
- the Source typepublic abstract class Entity<S,C> extends Object
Modifier | Constructor and Description |
---|---|
protected |
Entity() |
Modifier and Type | Method and Description |
---|---|
Applied<S,C> |
applied()
Answer my
applied . |
protected void |
applied(Applied<S,C> applied) |
int |
currentVersion()
Answer my
currentVersion , which, if zero, indicates that the
receiver is being initially constructed or reconstituted. |
abstract String |
id()
Answer my unique identity, which much be provided by
my concrete extender by overriding.
|
int |
nextVersion()
Answer my
nextVersion , which is currentVersion() + 1 . |
public int currentVersion()
currentVersion
, which, if zero, indicates that the
receiver is being initially constructed or reconstituted.public int nextVersion()
nextVersion
, which is currentVersion() + 1
.public abstract String id()
Copyright © 2020. All rights reserved.