org.biojava.bio.structure
Interface Atom

All Known Implementing Classes:
AtomImpl

public interface Atom

Author:
andreas simple implementation of an Atom

Method Summary
 double[] getCoords()
           
 String getFullName()
           
 String getName()
           
 double getOccupancy()
          get occupancy
 String getPDBline()
           
 int getPDBserial()
           
 double getTempFactor()
           
 double getX()
           
 double getY()
           
 double getZ()
           
 void setCoords(double[] c)
          the coordinates
 void setFullName(String s)
          full name of atom e.g.
 void setName(String s)
          trimmed version of atom name, e.g.
 void setOccupancy(double occupancy)
          set occupancy
 void setPDBline(String s)
          store the whole line
 void setPDBserial(int i)
          PDB atom number
 void setTempFactor(double temp)
           
 

Method Detail

setName

public void setName(String s)
trimmed version of atom name, e.g. "CA"


getName

public String getName()

setFullName

public void setFullName(String s)
full name of atom e.g. " CA "


getFullName

public String getFullName()

setPDBserial

public void setPDBserial(int i)
PDB atom number


getPDBserial

public int getPDBserial()

setCoords

public void setCoords(double[] c)
the coordinates


getCoords

public double[] getCoords()

getX

public double getX()

getY

public double getY()

getZ

public double getZ()

setPDBline

public void setPDBline(String s)
store the whole line


getPDBline

public String getPDBline()

setOccupancy

public void setOccupancy(double occupancy)
set occupancy


getOccupancy

public double getOccupancy()
get occupancy


setTempFactor

public void setTempFactor(double temp)

getTempFactor

public double getTempFactor()