Package org.biojava.nbio.structure.io
Enum Class LocalPDBDirectory.ObsoleteBehavior
java.lang.Object
java.lang.Enum<LocalPDBDirectory.ObsoleteBehavior>
org.biojava.nbio.structure.io.LocalPDBDirectory.ObsoleteBehavior
- All Implemented Interfaces:
Serializable
,Comparable<LocalPDBDirectory.ObsoleteBehavior>
,Constable
- Enclosing class:
- LocalPDBDirectory
public static enum LocalPDBDirectory.ObsoleteBehavior
extends Enum<LocalPDBDirectory.ObsoleteBehavior>
Behaviors for when an obsolete structure is requested.
- Author:
- Spencer Bliven
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionFetch the most recent version of the PDB entry.Fetch the obsolete entry from the PDB archives.Throw a StructureException for obsolete entries. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static LocalPDBDirectory.ObsoleteBehavior[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FETCH_CURRENT
Fetch the most recent version of the PDB entry. -
FETCH_OBSOLETE
Fetch the obsolete entry from the PDB archives. -
THROW_EXCEPTION
Throw a StructureException for obsolete entries.
-
-
Field Details
-
DEFAULT
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-