Package psidev.psi.mi.jami.tab
Enum MitabVersion
- java.lang.Object
-
- java.lang.Enum<MitabVersion>
-
- psidev.psi.mi.jami.tab.MitabVersion
-
- All Implemented Interfaces:
Serializable
,Comparable<MitabVersion>
public enum MitabVersion extends Enum<MitabVersion>
The mitab versions- Since:
10/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getNumberOfColumns()
Getter for the fieldnumberOfColumns
.static MitabVersion
valueOf(String name)
Returns the enum constant of this type with the specified name.static MitabVersion[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
v2_5
public static final MitabVersion v2_5
-
v2_6
public static final MitabVersion v2_6
-
v2_7
public static final MitabVersion v2_7
-
v2_8
public static final MitabVersion v2_8
-
-
Method Detail
-
values
public static MitabVersion[] 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 (MitabVersion c : MitabVersion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MitabVersion 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
-
getNumberOfColumns
public int getNumberOfColumns()
Getter for the field
numberOfColumns
.- Returns:
- a int.
-
-