model
Class ResidueImpl

java.lang.Object
  extended by model.ResidueImpl
All Implemented Interfaces:
Residue

public class ResidueImpl
extends java.lang.Object
implements Residue

Implementation of the Residue Interface.


Constructor Summary
ResidueImpl()
           
 
Method Summary
 char getAa()
          Returns the letter of the amino acid.
 int getPosition()
          Returns the position of the amino acid.
 java.math.BigDecimal getScore()
          Returns the score value
 void setAa(char aa)
          Set the letter of the amino acid.
 void setPosition(int position)
          Sets the position of the amino acid.
 void setScore(java.math.BigDecimal score)
          Set the sequence entropy factor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResidueImpl

public ResidueImpl()
Method Detail

getPosition

public int getPosition()
Returns the position of the amino acid.

Specified by:
getPosition in interface Residue
Returns:
Integer position

setPosition

public void setPosition(int position)
Sets the position of the amino acid.

Specified by:
setPosition in interface Residue
Parameters:
position -

getAa

public char getAa()
Returns the letter of the amino acid.

Specified by:
getAa in interface Residue
Returns:
Character aa

setAa

public void setAa(char aa)
Set the letter of the amino acid.

Specified by:
setAa in interface Residue
Parameters:
aa -

getScore

public java.math.BigDecimal getScore()
Returns the score value

Specified by:
getScore in interface Residue
Returns:
BigDecimal score

setScore

public void setScore(java.math.BigDecimal score)
Set the sequence entropy factor.

Specified by:
setScore in interface Residue
Parameters:
score -