<commit_before>/*
 * libChEBIj (c) University of Manchester 2015
 *
 * libChEBIj is licensed under the MIT License.
 * 
 * To view a copy of this license, visit <http://opensource.org/licenses/MIT/>.
 */
package uk.ac.manchester.libchebi;

/**
 * @author neilswainston
 */
public class Relation
{
	/**
	 * 
	 * @author neilswainston
	 */
	public static enum Type
	{
		/**
		 * 
		 */
		has_functional_parent,

		/**
		 * 
		 */
		has_parent_hydride,

		/**
		 * 
		 */
		has_part,

		/**
		 * 
		 */
		has_role,

		/**
		 * 
		 */
		is_a,

		/**
		 * 
		 */
		is_conjugate_acid_of,

		/**
		 * 
		 */
		is_conjugate_base_of,

		/**
		 * 
		 */
		is_enantiomer_of,

		/**
		 * 
		 */
		is_substituent_group_from,

		/**
		 * 
		 */
		is_tautomer_of
	}

	/**
	 * 
	 */
	private final Type type;

	/**
	 * 
	 */
	private final int targetChebiId;

	/**
	 * 
	 */
	private final String status;

	/**
	 * 
	 * @param type
	 * @param targetChebiId
	 * @param status
	 */
	public Relation( final Type type, final String targetChebiId, final String status )
	{<commit_msg>Made Relation constructor package-private as intended.<commit_after>/*
 * libChEBIj (c) University of Manchester 2015
 *
 * libChEBIj is licensed under the MIT License.
 * 
 * To view a copy of this license, visit <http://opensource.org/licenses/MIT/>.
 */
package uk.ac.manchester.libchebi;

/**
 * @author neilswainston
 */
public class Relation
{
	/**
	 * 
	 * @author neilswainston
	 */
	public static enum Type
	{
		/**
		 * 
		 */
		has_functional_parent,

		/**
		 * 
		 */
		has_parent_hydride,

		/**
		 * 
		 */
		has_part,

		/**
		 * 
		 */
		has_role,

		/**
		 * 
		 */
		is_a,

		/**
		 * 
		 */
		is_conjugate_acid_of,

		/**
		 * 
		 */
		is_conjugate_base_of,

		/**
		 * 
		 */
		is_enantiomer_of,

		/**
		 * 
		 */
		is_substituent_group_from,

		/**
		 * 
		 */
		is_tautomer_of
	}

	/**
	 * 
	 */
	private final Type type;

	/**
	 * 
	 */
	private final int targetChebiId;

	/**
	 * 
	 */
	private final String status;

	/**
	 * 
	 * @param type
	 * @param targetChebiId
	 * @param status
	 */
	Relation( final Type type, final String targetChebiId, final String status )
	{
{'fraction_non_alphanumeric': 0.14444444444444443, 'fraction_numerical': 0.003703703703703704, 'mean_word_length': 1.9643347050754458, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6642640', 'n_tokens_mistral': 1001, 'n_tokens_neox': 787, 'n_words': 154}