public class FdfEntity<S extends CommonState>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
S |
current |
long |
entityId |
java.util.List<S> |
history |
| Constructor and Description |
|---|
FdfEntity() |
FdfEntity(S currentState,
java.util.List<S> historyStates) |
| Modifier and Type | Method and Description |
|---|---|
S |
getMostRecentState()
Returns the most recent state for the entity if there is a current state it will be returned, otherwise the
newest historical state will be returned.
|
S |
getStateByRid(long rid) |
S |
getStateOfEntityAt(java.util.Date date) |
public S extends CommonState current
public java.util.List<S extends CommonState> history
public long entityId
public S getStateByRid(long rid)
public S getMostRecentState()
public S getStateOfEntityAt(java.util.Date date)