Interface GenericDTO

All Known Implementing Classes:
AccountDTO, ActionEventDTO, ExchangeDTO, GenericEntityDTO, JobSummaryDTO, MarketEventDTO, MarketNewsDTO, MarketNewsSentimentDTO, MarketPriceDTO, PortfolioDTO, PositionChartDTO, PositionDTO, PositionOrderDTO, PositionSummaryDTO, PositionTransactionDTO, RecurringNotificationDTO, StrategyDTO, StrategyImplementationDTO, SymbolAliasDTO, SymbolDTO, SymbolSummaryDTO, TransactionDTO, UserDTO, WatchlistDTO, WatchlistItemDTO
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface GenericDTO
Global DTO parent across the app.
Version:
1.0.1
Author:
Stephen Prizio
  • Method Summary

    Modifier and Type
    Method
    Description
    Obtains the unique identifier for this DTO.
    default boolean
    Returns true if the DTO is empty.
  • Method Details

    • getUid

      String getUid()
      Obtains the unique identifier for this DTO.
      Returns:
      String
    • isEmpty

      default boolean isEmpty()
      Returns true if the DTO is empty. Used in place of returning nulls
      Returns:
      true if it is empty