Package psidev.psi.mi.jami.factory
Enum InteractorCategory
- java.lang.Object
-
- java.lang.Enum<InteractorCategory>
-
- psidev.psi.mi.jami.factory.InteractorCategory
-
- All Implemented Interfaces:
Serializable
,Comparable<InteractorCategory>
public enum InteractorCategory extends Enum<InteractorCategory>
Enum for interactor category- Since:
02/07/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description bioactive_entity
complex
gene
interactor_set
nucleic_acid
other
polymer
protein
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InteractorCategory
valueOf(String name)
Returns the enum constant of this type with the specified name.static InteractorCategory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
protein
public static final InteractorCategory protein
-
nucleic_acid
public static final InteractorCategory nucleic_acid
-
gene
public static final InteractorCategory gene
-
bioactive_entity
public static final InteractorCategory bioactive_entity
-
polymer
public static final InteractorCategory polymer
-
complex
public static final InteractorCategory complex
-
interactor_set
public static final InteractorCategory interactor_set
-
other
public static final InteractorCategory other
-
-
Method Detail
-
values
public static InteractorCategory[] 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 (InteractorCategory c : InteractorCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InteractorCategory 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
-
-