public enum LibrarySource extends Enum<LibrarySource>
Enum Constant and Description |
---|
GENOMIC |
METAGENOMIC |
METATRANSCRIPTOMIC |
OTHER |
SYNTHETIC |
TRANSCRIPTOMIC |
VIRAL_RNA |
Modifier and Type | Method and Description |
---|---|
static Map<String,LibrarySource> |
byDescription()
Return a map of library sources keyed by description.
|
static LibrarySource |
fromDescription(String description)
Return the library source with the specified description, or null if no such library source exists.
|
String |
getDefinition()
Return the definition of this library source.
|
String |
getDescription()
Return the description of this library source.
|
static LibrarySource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LibrarySource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LibrarySource GENOMIC
public static final LibrarySource TRANSCRIPTOMIC
public static final LibrarySource METAGENOMIC
public static final LibrarySource METATRANSCRIPTOMIC
public static final LibrarySource SYNTHETIC
public static final LibrarySource VIRAL_RNA
public static final LibrarySource OTHER
public static LibrarySource[] values()
for (LibrarySource c : LibrarySource.values()) System.out.println(c);
public static LibrarySource 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 getDescription()
public String getDefinition()
public static Map<String,LibrarySource> byDescription()
public static LibrarySource fromDescription(String description)
description
- descriptionCopyright © 2014–2015. All rights reserved.