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.
        Returns:
        the meta-bean, not null
      • builder

        public static TradeReportColumn.Builder builder()
        Returns a builder used to create an instance of the bean.
        Returns:
        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.
        Returns:
        the value of the property, not null
      • getValue

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

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

        public TradeReportColumn.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