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

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

Deprecated. use enumeration View instead.

public class EnzymeViewConstant
extends Object

This class represents an enumeration of all view codes.

Instances of this class are immutable.

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

Field Summary
static EnzymeViewConstant INTENZ
          Deprecated.  
static EnzymeViewConstant IUBMB
          Deprecated.  
static EnzymeViewConstant IUBMB_INTENZ
          Deprecated.  
static EnzymeViewConstant IUBMB_SIB
          Deprecated.  
static EnzymeViewConstant SIB
          Deprecated.  
static EnzymeViewConstant SIB_INTENZ
          Deprecated.  
static EnzymeViewConstant UNDEF
          Deprecated.  
static List<EnzymeViewConstant> VIEW_CONSTANTS
          Deprecated.  
 
Method Summary
 boolean equals(Object o)
          Deprecated. Standard equals method.
 int hashCode()
          Deprecated. Returns the hash code of this object.
 boolean isInIntEnzView()
          Deprecated.  
static boolean isInIntEnzView(String viewCode)
          Deprecated.  
 boolean isInIUBMBView()
          Deprecated.  
static boolean isInIUBMBView(String viewCode)
          Deprecated.  
 boolean isInSIBView()
          Deprecated.  
static boolean isInSIBView(String viewCode)
          Deprecated.  
static boolean isInView(EnzymeViewConstant theView, Object o)
          Deprecated.  
 String toDisplayImage()
          Deprecated. MVC sin
static String toDisplayImage(String view)
          Deprecated. MVC sin
 String toDisplayString()
          Deprecated.  
static String toDisplayString(String view)
          Deprecated.  
 String toString()
          Deprecated. Returns the database code.
static EnzymeViewConstant valueOf(String viewCode)
          Deprecated. Returns the corresponding instance of the given view code.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

UNDEF

public static final EnzymeViewConstant UNDEF
Deprecated. 

IUBMB

public static final EnzymeViewConstant IUBMB
Deprecated. 

SIB

public static final EnzymeViewConstant SIB
Deprecated. 

IUBMB_SIB

public static final EnzymeViewConstant IUBMB_SIB
Deprecated. 

IUBMB_INTENZ

public static final EnzymeViewConstant IUBMB_INTENZ
Deprecated. 

SIB_INTENZ

public static final EnzymeViewConstant SIB_INTENZ
Deprecated. 

INTENZ

public static final EnzymeViewConstant INTENZ
Deprecated. 

VIEW_CONSTANTS

public static final List<EnzymeViewConstant> VIEW_CONSTANTS
Deprecated. 
Method Detail

valueOf

public static EnzymeViewConstant valueOf(String viewCode)
Deprecated. 
Returns the corresponding instance of the given view code.

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

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

isInSIBView

public boolean isInSIBView()
Deprecated. 

isInIUBMBView

public boolean isInIUBMBView()
Deprecated. 

isInIntEnzView

public boolean isInIntEnzView()
Deprecated. 

isInSIBView

public static boolean isInSIBView(String viewCode)
Deprecated. 

isInIUBMBView

public static boolean isInIUBMBView(String viewCode)
Deprecated. 

isInIntEnzView

public static boolean isInIntEnzView(String viewCode)
Deprecated. 

isInView

public static boolean isInView(EnzymeViewConstant theView,
                               Object o)
Deprecated. 

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 database code.

Overrides:
toString in class Object
Returns:
the database code.

toDisplayString

public static String toDisplayString(String view)
Deprecated. 

Parameters:
view -
Returns:

toDisplayString

public String toDisplayString()
Deprecated. 

Returns:

toDisplayImage

public static String toDisplayImage(String view)
Deprecated. MVC sin

Parameters:
view -
Returns:

toDisplayImage

public String toDisplayImage()
Deprecated. MVC sin

Returns:


Copyright © 2013 EMBL-EBI. All Rights Reserved.