org.biojava.bio.structure
Enum PDBStatus.Status

java.lang.Object
  extended by java.lang.Enum<PDBStatus.Status>
      extended by org.biojava.bio.structure.PDBStatus.Status
All Implemented Interfaces:
Serializable, Comparable<PDBStatus.Status>
Enclosing class:
PDBStatus

public static enum PDBStatus.Status
extends Enum<PDBStatus.Status>

Represents the status of PDB IDs. 'OBSOLETE' and 'CURRENT' are the most common.

Author:
Spencer Bliven

Enum Constant Summary
AUTH
           
CURRENT
           
HOLD
           
HPUB
           
MODEL
           
OBSOLETE
           
POLC
           
PROC
           
REFI
           
REPL
           
UNKNOWN
           
WAIT
           
WDRN
           
 
Method Summary
static PDBStatus.Status fromString(String statusStr)
           
static PDBStatus.Status valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PDBStatus.Status[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

OBSOLETE

public static final PDBStatus.Status OBSOLETE

CURRENT

public static final PDBStatus.Status CURRENT

AUTH

public static final PDBStatus.Status AUTH

HOLD

public static final PDBStatus.Status HOLD

HPUB

public static final PDBStatus.Status HPUB

POLC

public static final PDBStatus.Status POLC

PROC

public static final PDBStatus.Status PROC

REFI

public static final PDBStatus.Status REFI

REPL

public static final PDBStatus.Status REPL

WAIT

public static final PDBStatus.Status WAIT

WDRN

public static final PDBStatus.Status WDRN

MODEL

public static final PDBStatus.Status MODEL

UNKNOWN

public static final PDBStatus.Status UNKNOWN
Method Detail

values

public static PDBStatus.Status[] 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 (PDBStatus.Status c : PDBStatus.Status.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PDBStatus.Status 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 name
NullPointerException - if the argument is null

fromString

public static PDBStatus.Status fromString(String statusStr)
Parameters:
statusStrUpper -
Returns:
Throws:
IllegalArgumentException - If the string is not recognized