Interface GenericEntity
- All Known Subinterfaces:
GenericAction, GenericJob, PositionSummaryView
- All Known Implementing Classes:
AbstractAuditableEntity, Account, AccountLedgerEntry, Action, ActionEvent, ActionExecution, ConfiguredIndicator, Exchange, ForgottenPasswordInstance, IncomingPing, IndicatorCalculationInstance, IndicatorValue, Job, JobArtifact, MarketEvent, MarketPrice, MarketPriceFetchRequest, Portfolio, Position, PositionOrder, PositionTransaction, RecurringNotification, Strategy, StrategyImplementation, Symbol, SymbolAlias, Transaction, User, Watchlist, WatchlistItem
public interface GenericEntity
A base entity that acts as the parent for all model entities in the system.
- Version:
- 3.0.4
- Author:
- Stephen Prizio
-
Method Summary
Modifier and TypeMethodDescriptionObtains the time at which the entity was created.getId()Obtains the id for the given entity.Obtains the time at which the entity was last modified.booleanReturns whether the creation time was inferred during historical backfilling.
-
Method Details
-
getId
-
getCreatedAt
LocalDateTime getCreatedAt()Obtains the time at which the entity was created.- Returns:
- creation time in UTC
-
getModifiedAt
LocalDateTime getModifiedAt()Obtains the time at which the entity was last modified.- Returns:
- modification time in UTC
-
isCreatedAtInferred
boolean isCreatedAtInferred()Returns whether the creation time was inferred during historical backfilling.- Returns:
- true when the creation time was inferred
-