Class TradeReportTemplate

  • All Implemented Interfaces:
    ReportTemplate, org.joda.beans.Bean, org.joda.beans.ImmutableBean

    public final class TradeReportTemplate
    extends Object
    implements ReportTemplate, org.joda.beans.ImmutableBean
    Describes the contents and layout of a trade report.
    • Method Detail

      • load

        public static TradeReportTemplate load​(IniFile ini)
        Creates a trade report template by reading a template definition in an ini file.
        Parameters:
        ini - the ini file containing the definition of the template
        Returns:
        a trade report template built from the definition in the ini file
      • meta

        public static TradeReportTemplate.Meta meta()
        The meta-bean for TradeReportTemplate.
        Returns:
        the meta-bean, not null
      • builder

        public static TradeReportTemplate.Builder builder()
        Returns a builder used to create an instance of the bean.
        Returns:
        the builder, not null
      • getColumns

        public List<TradeReportColumn> getColumns()
        Gets the columns in the report.
        Returns:
        the value of the property, not null
      • toBuilder

        public TradeReportTemplate.Builder toBuilder()
        Returns a builder that allows this bean to be mutated.
        Returns:
        the mutable builder, not null
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object