Class SolConstants.WriterConstants
java.lang.Object
com.bluebell.greenhouse.sol.constants.SolConstants.WriterConstants
- Enclosing class:
SolConstants
Constants for writers.
- Version:
- 3.0.4
- Author:
- Stephen Prizio
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classConstants for market price writers.static final classConstants for position writers.static final classConstants for transaction writers. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Map<String, Function<MarketPrice, ?>> getMarketPriceHeaders(String dateTimeFormat) Resolves the market price headers for csv writing.static Map<String, Function<PositionOrder, ?>> getPositionHeaders(String headerProfile) Resolves the position headers for the given header profile.static Map<String, Function<Transaction, ?>> getTransactionHeaders(String headerProfile) Resolves the transaction headers for the given header profile.
-
Field Details
-
HEADER_PROFILE_MINIMAL
Header profile for a minimal report shape.- See Also:
-
HEADER_PROFILE_ALL
Header profile for a fully populated report shape.- See Also:
-
-
Method Details
-
getMarketPriceHeaders
Resolves the market price headers for csv writing.- Parameters:
dateTimeFormat- optional date time format- Returns:
- ordered headers
-
getTransactionHeaders
Resolves the transaction headers for the given header profile.- Parameters:
headerProfile- profile- Returns:
- ordered headers
-
getPositionHeaders
Resolves the position headers for the given header profile.- Parameters:
headerProfile- profile- Returns:
- ordered headers
-