|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.biojava.bio.structure.AtomImpl
public class AtomImpl
Implementation of an Atom of a PDB file. currently the coordinates of an atom are represented by a doubl[3] array.
| Constructor Summary | |
|---|---|
AtomImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
returns and identical copy of this object . |
Character |
getAltLoc()
get alternate Location. |
double[] |
getCoords()
get the coordinates as a double[3] array . |
String |
getFullName()
get full name of atom e.g. |
String |
getName()
Gets this object's name. |
double |
getOccupancy()
get occupancy. |
Group |
getParent()
Returns the parent Group of the Atom returns null if the referenced object is not Group |
String |
getPDBline()
get the whole line . |
int |
getPDBserial()
get PDB atom number. |
double |
getTempFactor()
get set temp factor. |
double |
getX()
get the X coordinate. |
double |
getY()
get the Y coordinate. |
double |
getZ()
get the Z coordinate. |
void |
setAltLoc(Character c)
set alternate Location. |
void |
setCoords(double[] c)
the coordinates. |
void |
setFullName(String s)
set full name of atom e.g. |
void |
setName(String s)
trimmed version of atom name, e.g. |
void |
setOccupancy(double occu)
set occupancy. |
void |
setParent(Group parent)
Sets the back-reference to its parent Group |
void |
setPDBline(String s)
store the whole line. |
void |
setPDBserial(int i)
set PDB atom number. |
void |
setTempFactor(double temp)
get set temp factor . |
void |
setX(double x)
set the X coordinate |
void |
setY(double y)
set the Y coordinate |
void |
setZ(double z)
set the Z coordinate |
String |
toString()
string representation. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AtomImpl()
| Method Detail |
|---|
public void setName(String s)
setName in interface Atoms - a String specifying the name valuegetName()public String getName()
getName in interface AtomsetName(java.lang.String)public void setFullName(String s)
setFullName in interface Atoms - a String specifying the full name valuegetFullName()public String getFullName()
getFullName in interface AtomsetFullName(java.lang.String)public void setPDBserial(int i)
setPDBserial in interface Atomi - an int specifying the PDBserial valuegetPDBserial()public int getPDBserial()
getPDBserial in interface AtomsetPDBserial(int)public void setCoords(double[] c)
setCoords in interface Atomc - an array of doubles specifying the coords valuegetCoords()public double[] getCoords()
getCoords in interface AtomsetCoords(double[])public void setX(double x)
Atom
setX in interface Atomx - a doublepublic void setY(double y)
Atom
setY in interface Atomy - a doublepublic void setZ(double z)
Atom
setZ in interface Atomz - a doublepublic double getX()
getX in interface Atompublic double getY()
getY in interface Atompublic double getZ()
getZ in interface Atompublic void setAltLoc(Character c)
setAltLoc in interface Atomc - a Character object specifying the alt loc valuegetAltLoc()public Character getAltLoc()
getAltLoc in interface AtomsetAltLoc(java.lang.Character)public void setPDBline(String s)
setPDBline in interface Atoms - a String specifying the PDBline valuegetPDBline()public String getPDBline()
getPDBline in interface AtomsetPDBline(java.lang.String)public String toString()
toString in class Objectpublic void setOccupancy(double occu)
Atom
setOccupancy in interface Atomoccu - a double specifying the occupancy valueAtom.getOccupancy()public double getOccupancy()
Atom
getOccupancy in interface AtomAtom.setOccupancy(double)public void setTempFactor(double temp)
Atom
setTempFactor in interface Atomtemp - a double specifying the temp factor valueAtom.getTempFactor()public double getTempFactor()
Atom
getTempFactor in interface AtomAtom.setTempFactor(double)public Object clone()
clone in interface Atomclone in class Objectpublic void setParent(Group parent)
Atom
setParent in interface Atomparent - the parent Grouppublic Group getParent()
Atom
getParent in interface Atom
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||