<commit_before>package com.bio4j.model.uniprot.nodes;

import com.bio4j.model.uniprot.UniprotGraph;
import com.bio4j.model.uniprot.UniprotGraph.OrganismType;
import com.bio4j.model.uniprot.relationships.ProteinOrganism;
import com.ohnosequences.typedGraphs.Node;
import com.ohnosequences.typedGraphs.Property;

import java.util.List;

/**
 * Created by ppareja on 6/18/2014.
 */
public interface Organism<
		N extends Organism<N, NT>,
		NT extends OrganismType<N, NT>
		>
		extends Node<N, NT> {

	public String name();

	// properties
	public static interface name<
			N extends Organism<N, NT>,
			NT extends UniprotGraph.OrganismType<N, NT>,
			P extends name<N, NT, P>
			>
			extends Property<N, NT, P, String> {
		@Override
		public default String name() {
			return "name";
		}
		@Override<commit_msg>fixing Organism properties<commit_after>package com.bio4j.model.uniprot.nodes;

import com.bio4j.model.uniprot.UniprotGraph;
import com.bio4j.model.uniprot.UniprotGraph.OrganismType;
import com.bio4j.model.uniprot.relationships.ProteinOrganism;
import com.ohnosequences.typedGraphs.Node;
import com.ohnosequences.typedGraphs.Property;

import java.util.List;

/**
 * Created by ppareja on 6/18/2014.
 */
public interface Organism<
		N extends Organism<N, NT>,
		NT extends OrganismType<N, NT>
		>
		extends Node<N, NT> {

	public String scientificName();
	public String commonName();
	public String synonymName();

	// properties
	public static interface scientificName<
			N extends Organism<N, NT>,
			NT extends UniprotGraph.OrganismType<N, NT>,
			P extends scientificName<N, NT, P>
			>
			extends Property<N, NT, P, String> {
		@Override
		public default String name() {
			return "scientificName";
		}
		@Override
		public default Class<String> valueClass() {
			return String.class;
		}
	}

	public static interface commonName<
			N extends Organism<N, NT>,
			NT extends UniprotGraph.OrganismType<N, NT>,
			P extends commonName<N, NT, P>
			>
			extends Property<N, NT, P, String> {
		@Override
		public default String name() {
			return "commonName";
		}
		@Override
		public default Class<String> valueClass() {
			return String.class;
		}
	}

	public static interface synonymName<
			N extends Organism<N, NT>,
			NT extends UniprotGraph.OrganismType<N, NT>,
			P extends synonymName<N, NT, P>
			>
			extends Property<N, NT, P, String> {
		@Override
		public default String name() {
			return "synonymName";
		}
		@Override
{'fraction_non_alphanumeric': 0.11042944785276074, 'fraction_numerical': 0.00899795501022495, 'mean_word_length': 4.085239085239086, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, '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': '4330049', 'n_tokens_mistral': 945, 'n_tokens_neox': 842, 'n_words': 213}