model
Class ResidueCoordinates

java.lang.Object
  extended by model.ResidueCoordinates
All Implemented Interfaces:
Coordinates

public class ResidueCoordinates
extends java.lang.Object
implements Coordinates

This class represents the residue coordinates.


Constructor Summary
ResidueCoordinates()
           
 
Method Summary
 double[] getCoords()
          Returns the array of the coordinates.
 char getLetter()
          Returns the letter of the residue.
 int getPosition()
          Returns the position of the residue.
 void setCoords(double[] coords)
          Sets the array of the coordinates.
 void setLetter(char letter)
          Sets the letter of the residue.
 void setPosition(int position)
          Sets the position of the residue.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResidueCoordinates

public ResidueCoordinates()
Method Detail

getCoords

public double[] getCoords()
Returns the array of the coordinates.

Specified by:
getCoords in interface Coordinates
Returns:
coords double[]

setCoords

public void setCoords(double[] coords)
Sets the array of the coordinates.

Specified by:
setCoords in interface Coordinates
Parameters:
coords -

getPosition

public int getPosition()
Returns the position of the residue.

Returns:
position Integer

setPosition

public void setPosition(int position)
Sets the position of the residue.

Parameters:
position -

getLetter

public char getLetter()
Returns the letter of the residue.

Returns:
letter Character

setLetter

public void setLetter(char letter)
Sets the letter of the residue.

Parameters:
letter -