Class SegmentBuilderSupport<T extends SegmentBuilderSupport<T>>

    • Method Detail

      • key

        public T key​(java.lang.String name)
        Sets the name of a child component to use as the key for an inline map bound to this record or segment.
        Parameters:
        name - the component name
        Returns:
        this
      • value

        public T value​(java.lang.String name)
        Sets the name of a child component to return as the value for this record or segment in lieu of a bound class.
        Parameters:
        name - the component name
        Returns:
        this
      • addSegment

        public T addSegment​(SegmentBuilder segment)
        Adds a segment to this component.
        Parameters:
        segment - the segment to add
        Returns:
        this
      • addField

        public T addField​(FieldBuilder field)
        Adds a field to this component.
        Parameters:
        field - the field to add
        Returns:
        this