Formats.java

package fr.metabocloud.core.model;

/**
 * Object used to store format that may be used by the application.
 *
 * @author Faustine Souc
 * @since 1.0.0
 * @version 1.0.0
 */
public enum Formats {

	/**
	 * InChI format
	 */
	INCHI("inchi"),

	/**
	 * InChI key format
	 */
	INCHIKEY("inchikey"),

	/**
	 * MOL format
	 */
	MOL("mol"),

	/**
	 * SDF format
	 */
	SDF("sdf"),

	/**
	 * PNG format
	 */
	PNG("png"),

	/**
	 * SVG format
	 */
	SVG("svg");

	/**
	 * The label associated with the format.
	 */
	public final String label;

	/**
	 * Private constructor to initialize the enum constant with its corresponding
	 * label.
	 *
	 * @param label The label associated with the format.
	 */
	Formats(final String label) {
		this.label = label;
	}
}