Enum PhenotypesRetrieverFactory
- java.lang.Object
-
- java.lang.Enum<PhenotypesRetrieverFactory>
-
- org.molgenis.vibe.core.ontology_processing.PhenotypesRetrieverFactory
-
- All Implemented Interfaces:
Serializable,Comparable<PhenotypesRetrieverFactory>,EnumTypeDefiner
public enum PhenotypesRetrieverFactory extends Enum<PhenotypesRetrieverFactory> implements EnumTypeDefiner
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract PhenotypesRetrievercreate(org.apache.jena.ontology.OntModel model, Collection<Phenotype> inputPhenotypes, int distance)StringgetDescription()StringgetId()static PhenotypesRetrieverFactoryretrieve(String name)static PhenotypesRetrieverFactoryvalueOf(String name)Returns the enum constant of this type with the specified name.static PhenotypesRetrieverFactory[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHILDREN
public static final PhenotypesRetrieverFactory CHILDREN
-
DISTANCE
public static final PhenotypesRetrieverFactory DISTANCE
-
-
Method Detail
-
values
public static PhenotypesRetrieverFactory[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PhenotypesRetrieverFactory c : PhenotypesRetrieverFactory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PhenotypesRetrieverFactory valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getId
public String getId()
- Specified by:
getIdin interfaceEnumTypeDefiner
-
getDescription
public String getDescription()
-
create
public abstract PhenotypesRetriever create(org.apache.jena.ontology.OntModel model, Collection<Phenotype> inputPhenotypes, int distance)
-
retrieve
public static PhenotypesRetrieverFactory retrieve(String name)
-
-