public static enum GeneRegulation.Type extends java.lang.Enum<GeneRegulation.Type>
Enum Constant and Description |
---|
NEGATIVE
Negative regulation of a gene
|
POSITIVE
Positive regulation of a gene
|
Modifier and Type | Method and Description |
---|---|
static GeneRegulation.Type |
fromSymbol(java.lang.String symbol)
Parses type from symbol
|
java.lang.String |
getSymbol()
Obtains the symbol representing the regulation
|
java.lang.String |
toString() |
static GeneRegulation.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GeneRegulation.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeneRegulation.Type POSITIVE
public static final GeneRegulation.Type NEGATIVE
public static GeneRegulation.Type[] values()
for (GeneRegulation.Type c : GeneRegulation.Type.values()) System.out.println(c);
public static GeneRegulation.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getSymbol()
public static GeneRegulation.Type fromSymbol(java.lang.String symbol)
symbol
- the symbolpublic java.lang.String toString()
toString
in class java.lang.Enum<GeneRegulation.Type>