uk.ac.ebi.intenz.domain.constants
Class EnzymeStatusConstant

java.lang.Object
  extended by uk.ac.ebi.intenz.domain.constants.EnzymeStatusConstant

Deprecated. use enumeration Status instead.

public class EnzymeStatusConstant
extends Object

This class represents an enumeration of all database source types.

Instances of this class are immutable.

Version:
$Revision: 1.3 $ $Date: 2009/04/16 15:01:04 $
Author:
Michael Darsow

Field Summary
static EnzymeStatusConstant APPROVED
          Deprecated.  
static EnzymeStatusConstant PROPOSED
          Deprecated.  
static EnzymeStatusConstant SUGGESTED
          Deprecated.  
 
Method Summary
 boolean equals(Object o)
          Deprecated. Standard equals method.
 String getCode()
          Deprecated. Returns the status code.
 int hashCode()
          Deprecated. Returns the hash code of this object.
 String toString()
          Deprecated. Returns the status code's text.
static EnzymeStatusConstant valueOf(String statusCode)
          Deprecated. Returns the corresponding instance of the given status code.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

APPROVED

public static final EnzymeStatusConstant APPROVED
Deprecated. 

SUGGESTED

public static final EnzymeStatusConstant SUGGESTED
Deprecated. 

PROPOSED

public static final EnzymeStatusConstant PROPOSED
Deprecated. 
Method Detail

valueOf

public static EnzymeStatusConstant valueOf(String statusCode)
Deprecated. 
Returns the corresponding instance of the given status code.

If the status code does not match any code an exception is thrown.

Parameters:
statusCode - The status code.
Returns:
the class constant corresponding to the given code.
Throws:
NullPointerException - if statusCode is null.
IllegalArgumentException - if the code is invalid.

equals

public boolean equals(Object o)
Deprecated. 
Standard equals method.

Overrides:
equals in class Object
Parameters:
o - Object to be compared to this one.
Returns:
true if the objects are equal.

hashCode

public int hashCode()
Deprecated. 
Returns the hash code of this object.

Overrides:
hashCode in class Object
Returns:
the hash code of this object.

toString

public String toString()
Deprecated. 
Returns the status code's text.

Overrides:
toString in class Object
Returns:
the status code's text.

getCode

public String getCode()
Deprecated. 
Returns the status code.

Returns:
the status code.


Copyright © 2013 EMBL-EBI. All Rights Reserved.