All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.molgenis.api.data.v3.model.AbstractReadRequest Maven / Gradle / Ivy

There is a newer version: 8.4.5
Show newest version
package org.molgenis.api.data.v3.model;

import org.molgenis.api.model.Selection;

abstract class AbstractReadRequest extends AbstractEntityTypeRequest {
  private Selection filter;
  private Selection expand;

  public Selection getFilter() {
    return filter != null ? filter : Selection.FULL_SELECTION;
  }

  public void setFilter(Selection filter) {
    this.filter = filter;
  }

  public Selection getExpand() {
    return expand != null ? expand : Selection.EMPTY_SELECTION;
  }

  public void setExpand(Selection expand) {
    this.expand = expand;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy