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

org.geneweaver.domain.IdGenerator Maven / Gradle / Ivy

package org.geneweaver.domain;

import com.fasterxml.jackson.annotation.JsonIgnore;

public interface IdGenerator {


	/**
	 * Get the value of the id field. 
	 * Not all entities will have the same field name
	 * for the id field but they all must have a value for it.
	 * e.g. 
	 * Gene the geneId from Ensembl.
	 * Variant the rsId used for all variants.
	 * Peak the generated peakId.
	 * @return id
	 */
	@JsonIgnore
	String id();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy