docs: public void setElements(List<ObjectProperty> elements) {
          if (elements == null) {
              this.elements = null;
          } else {
              if (this.elements != null)
                  this.elements.clear();
              for (ObjectProperty o : elements)
                  addElement(o);
          }
      }