public enum ModificationOccurrenceType extends Enum<ModificationOccurrenceType>
Enum Constant and Description |
---|
ARTIFACTUAL |
HYPOTHETICAL |
NATURAL |
Modifier and Type | Method and Description |
---|---|
static ModificationOccurrenceType |
getByLabel(String label) |
String |
label() |
String |
toString() |
static ModificationOccurrenceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModificationOccurrenceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModificationOccurrenceType NATURAL
public static final ModificationOccurrenceType HYPOTHETICAL
public static final ModificationOccurrenceType ARTIFACTUAL
public static ModificationOccurrenceType[] values()
for (ModificationOccurrenceType c : ModificationOccurrenceType.values()) System.out.println(c);
public static ModificationOccurrenceType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String label()
public String toString()
toString
in class Enum<ModificationOccurrenceType>
public static ModificationOccurrenceType getByLabel(String label)
label
- the label of ModificationOccurrenceType.Copyright © 2000–2016 BioJava. All rights reserved.