Class CounterpartyNodeBuilder

  • All Implemented Interfaces:
    Cloneable

    public class CounterpartyNodeBuilder
    extends ParentChildNodeBuilder<CounterpartyParentChildNode,​CounterpartyNodeBuilder>
    The CounterpartyNodeBuilder is an instance of ParentChildNodeBuilder that provides a way to make counterparty nodes. It follows a standard builder pattern for making objects. The primary benefit this builder provides over allowing the user to just create their own nodes is it provides a way to map field types from strings to booleans. Nodes in the datastore itself may have fields with "Y" or "N" instead of the data models true/false. This builder converts those values for a caller without the caller having to worry about the type of the fields for the modal.