Enum CrossLinkCSVColumns
- java.lang.Object
-
- java.lang.Enum<CrossLinkCSVColumns>
-
- psidev.psi.mi.jami.crosslink.io.parser.CrossLinkCSVColumns
-
- All Implemented Interfaces:
Serializable
,Comparable<CrossLinkCSVColumns>
public enum CrossLinkCSVColumns extends Enum<CrossLinkCSVColumns>
Enum listing possible column names- Since:
22/08/14
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CrossLinkCSVColumns
convertFromString(String val)
convertFromString.static CrossLinkCSVColumns
valueOf(String name)
Returns the enum constant of this type with the specified name.static CrossLinkCSVColumns[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
protein1
public static final CrossLinkCSVColumns protein1
-
protein2
public static final CrossLinkCSVColumns protein2
-
peppos1
public static final CrossLinkCSVColumns peppos1
-
peppos2
public static final CrossLinkCSVColumns peppos2
-
linkpos1
public static final CrossLinkCSVColumns linkpos1
-
linkpos2
public static final CrossLinkCSVColumns linkpos2
-
narygroup
public static final CrossLinkCSVColumns narygroup
-
-
Method Detail
-
values
public static CrossLinkCSVColumns[] 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 (CrossLinkCSVColumns c : CrossLinkCSVColumns.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CrossLinkCSVColumns 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
-
convertFromString
public static CrossLinkCSVColumns convertFromString(String val)
convertFromString.
- Parameters:
val
- aString
object.- Returns:
- a
CrossLinkCSVColumns
object.
-
-