Class SolConstants.WriterConstants

java.lang.Object
com.bluebell.greenhouse.sol.constants.SolConstants.WriterConstants
Enclosing class:
SolConstants

public static final class SolConstants.WriterConstants extends Object
Constants for writers.
Version:
3.0.4
Author:
Stephen Prizio
  • Field Details

    • HEADER_PROFILE_MINIMAL

      public static final String HEADER_PROFILE_MINIMAL
      Header profile for a minimal report shape.
      See Also:
    • HEADER_PROFILE_ALL

      public static final String HEADER_PROFILE_ALL
      Header profile for a fully populated report shape.
      See Also:
  • Method Details

    • getMarketPriceHeaders

      public static Map<String, Function<MarketPrice, ?>> getMarketPriceHeaders(String dateTimeFormat)
      Resolves the market price headers for csv writing.
      Parameters:
      dateTimeFormat - optional date time format
      Returns:
      ordered headers
    • getTransactionHeaders

      public static Map<String, Function<Transaction, ?>> getTransactionHeaders(String headerProfile)
      Resolves the transaction headers for the given header profile.
      Parameters:
      headerProfile - profile
      Returns:
      ordered headers
    • getPositionHeaders

      public static Map<String, Function<PositionOrder, ?>> getPositionHeaders(String headerProfile)
      Resolves the position headers for the given header profile.
      Parameters:
      headerProfile - profile
      Returns:
      ordered headers