Class CashFlowReport.Builder

  • All Implemented Interfaces:
    org.joda.beans.BeanBuilder<CashFlowReport>
    Enclosing class:
    CashFlowReport

    public static final class CashFlowReport.Builder
    extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<CashFlowReport>
    The bean-builder for CashFlowReport.
    • Method Detail

      • get

        public java.lang.Object get​(java.lang.String propertyName)
        Specified by:
        get in interface org.joda.beans.BeanBuilder<CashFlowReport>
        Overrides:
        get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<CashFlowReport>
      • set

        public CashFlowReport.Builder set​(org.joda.beans.MetaProperty<?> property,
                                          java.lang.Object value)
        Specified by:
        set in interface org.joda.beans.BeanBuilder<CashFlowReport>
        Overrides:
        set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<CashFlowReport>
      • valuationDate

        public CashFlowReport.Builder valuationDate​(java.time.LocalDate valuationDate)
        Sets the valuation date.
        Parameters:
        valuationDate - the new value, not null
        Returns:
        this, for chaining, not null
      • runInstant

        public CashFlowReport.Builder runInstant​(java.time.Instant runInstant)
        Sets the instant at which the report was run.
        Parameters:
        runInstant - the new value, not null
        Returns:
        this, for chaining, not null
      • columnKeys

        public CashFlowReport.Builder columnKeys​(java.util.List<ExplainKey<?>> columnKeys)
        Sets the keys corresponding to the columns.
        Parameters:
        columnKeys - the new value, not null
        Returns:
        this, for chaining, not null
      • columnKeys

        @SafeVarargs
        public final CashFlowReport.Builder columnKeys​(ExplainKey<?>... columnKeys)
        Sets the columnKeys property in the builder from an array of objects.
        Parameters:
        columnKeys - the new value, not null
        Returns:
        this, for chaining, not null
      • columnHeaders

        public CashFlowReport.Builder columnHeaders​(java.util.List<java.lang.String> columnHeaders)
        Sets the column headers.
        Parameters:
        columnHeaders - the new value, not null
        Returns:
        this, for chaining, not null
      • columnHeaders

        public CashFlowReport.Builder columnHeaders​(java.lang.String... columnHeaders)
        Sets the columnHeaders property in the builder from an array of objects.
        Parameters:
        columnHeaders - the new value, not null
        Returns:
        this, for chaining, not null
      • data

        public CashFlowReport.Builder data​(Table<java.lang.Integer,​java.lang.Integer,​java.lang.Object> data)
        Sets the cashflow data table.
        Parameters:
        data - the new value, not null
        Returns:
        this, for chaining, not null
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<CashFlowReport>