Class TradeReportColumn

  • All Implemented Interfaces:
    Bean, ImmutableBean

    public final class TradeReportColumn
    extends java.lang.Object
    implements 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
      • getHeader

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

        public java.util.Optional<java.lang.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
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object