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

org.molgenis.oneclickimporter.model.Column Maven / Gradle / Ivy

Go to download

Plugin module for importing data with automatic metadata determination (not part of the importer framework).

There is a newer version: 8.4.5
Show newest version
package org.molgenis.oneclickimporter.model;

import com.google.auto.value.AutoValue;
import java.util.List;
import org.molgenis.util.AutoGson;

@AutoValue
@AutoGson(autoValueClass = AutoValue_Column.class)
@SuppressWarnings(
    "squid:S1610") // Abstract classes without fields should be converted to interfaces
public abstract class Column {
  public abstract String getName();

  public abstract int getPosition();

  public abstract List getDataValues();

  public static Column create(String name, int position, List dataValues) {
    return new AutoValue_Column(name, position, dataValues);
  }
}