code: public Block withRelationships(Relationship... relationships) {
          if (this.relationships == null) {
              setRelationships(new java.util.ArrayList<Relationship>(relationships.length));
          }
          for (Relationship ele : relationships) {
              this.relationships.add(ele);
          }
          return this;
      }
docs: <p>
  A list of child blocks of the current block. For example a LINE object has child blocks for each WORD block
  that's part of the line of text. There aren't Relationship objects in the list for relationships that don't
  exist, such as when the current block has no child blocks. The list size can be the following:
  </p>
  <ul>
  <li>
  <p>
  0 - The block has no child blocks.
  </p>
  </li>
  <li>
  <p>
  1 - The block has child blocks.
  </p>
  </li>
  </ul>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setRelationships(java.util.Collection)} or {@link #withRelationships(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param relationships
  A list of child blocks of the current block. For example a LINE object has child blocks for each WORD
  block that's part of the line of text. There aren't Relationship objects in the list for relationships
  that don't exist, such as when the current block has no child blocks. The list size can be the
  following:</p>
  <ul>
  <li>
  <p>
  0 - The block has no child blocks.
  </p>
  </li>
  <li>
  <p>
  1 - The block has child blocks.
  </p>
  </li>
  @return Returns a reference to this object so that method calls can be chained together.