org.biomage.BioSequence
Class SeqFeature.Basis

java.lang.Object
  extended by org.biomage.BioSequence.SeqFeature.Basis
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
SeqFeature

public class SeqFeature.Basis
extends java.lang.Object
implements java.io.Serializable

Inner class for the enumeration values that the attribute basis can assume.

See Also:
Serialized Form

Field Summary
 int both
           
 int computational
           
 int experimental
           
 int NA
           
 int unknown
           
 
Method Summary
 java.lang.String getName()
           
 java.lang.String getNameByValue(int val)
           
 int getValue()
           
 int getValueByName(java.lang.String name)
           
 java.lang.String setNameByValue(int val)
           
 int setValueByName(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

experimental

public final int experimental
See Also:
Constant Field Values

computational

public final int computational
See Also:
Constant Field Values

both

public final int both
See Also:
Constant Field Values

unknown

public final int unknown
See Also:
Constant Field Values

NA

public final int NA
See Also:
Constant Field Values
Method Detail

setValueByName

public int setValueByName(java.lang.String name)

getValueByName

public int getValueByName(java.lang.String name)

setNameByValue

public java.lang.String setNameByValue(int val)

getNameByValue

public java.lang.String getNameByValue(int val)

getValue

public int getValue()

getName

public java.lang.String getName()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object