code: @SuppressWarnings("unchecked")
    public <T extends CMAResource> T setSystem(CMASystem system) {
      this.system = system;
      return (T) this;
    }
docs: Sets the system field.
  
  @param system sets the system property.
  @param <T>    resource type to be returned.
  @return this, as casted to a resource, for the ease of chaining.