T - type of aggregate rootpublic class Snapshot<T extends AggregateRoot> extends java.lang.Object implements Identifiable
aggregate root| Constructor and Description |
|---|
Snapshot(java.lang.String URI,
org.joda.time.DateTime At,
java.lang.String Action,
T Value) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAction()
Which action was performed (INSERT|UPDATE|DELETE)
|
org.joda.time.DateTime |
getAt()
Date and time when snapshot was created.
|
java.lang.String |
getURI()
Domain object identity.
|
T |
getValue()
Instance of an aggregate root at that time
|
public Snapshot(java.lang.String URI,
org.joda.time.DateTime At,
java.lang.String Action,
T Value)
public java.lang.String getURI()
getURI in interface Identifiablepublic org.joda.time.DateTime getAt()
public java.lang.String getAction()
public T getValue()