Class ResolvedFraTrade.Builder

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

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

      • get

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

        public ResolvedFraTrade.Builder info​(TradeInfo info)
        Sets the additional trade information, defaulted to an empty instance.

        This allows additional information to be attached to the trade.

        Parameters:
        info - the new value, not null
        Returns:
        this, for chaining, not null
      • product

        public ResolvedFraTrade.Builder product​(ResolvedFra product)
        Sets the resolved FRA product.

        The product captures the contracted financial details of the trade.

        Parameters:
        product - the new value, not null
        Returns:
        this, for chaining, not null
      • toString

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