Class TradeReportColumn

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

    public final class TradeReportColumn
    extends Object
    implements org.joda.beans.ImmutableBean
    Describes a column in a trade report.

    Processing of the fields is intentionally delayed so that the fields can be interpreted in the context of the calculation results, and errors are delayed until the report is run.

    • Method Detail

      • meta

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

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

        public TradeReportColumn.Meta metaBean()
        Specified by:
        metaBean in interface org.joda.beans.Bean
      • getHeader

        public String getHeader()
        Gets the column header.
        the value of the property, not null
      • getValue

        public Optional<String> getValue()
        Gets the reference to a value to display in this column.
        the optional value of the property, not null
      • isIgnoreFailures

        public boolean isIgnoreFailures()
        Gets whether to ignore failures, or report the errors.
        the value of the property
      • toBuilder

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

        public int hashCode()
        hashCode in class Object