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 Type
    Method
    Description
    Obtains the time at which the entity was created.
    Obtains the id for the given entity.
    Obtains the time at which the entity was last modified.
    boolean
    Returns whether the creation time was inferred during historical backfilling.
  • Method Details

    • getId

      Long getId()
      Obtains the id for the given entity.
      Returns:
      Long
    • 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