public interface Atom extends Cloneable, PDBRecord
getCoords(), or the
getX(), getY(), getZ() methods.
There are a few additional methods here to provide some PDB specific information.| Modifier and Type | Method and Description |
|---|---|
void |
addBond(Bond bond)
Add a bond
|
Object |
clone()
Return an identical copy of this object .
|
Character |
getAltLoc()
Get alternate Location.
|
List<Bond> |
getBonds()
Get all
Bonds this atom is part of. |
short |
getCharge()
Get the charge of this atom
|
double[] |
getCoords()
Get the coordinates.
|
Element |
getElement()
Get element of the atom, e.g.
|
Group |
getGroup()
Return the parent Group of the Atom.
|
String |
getName()
Get atom name, e.g.
|
float |
getOccupancy()
Get occupancy.
|
int |
getPDBserial()
Get PDB atom number.
|
float |
getTempFactor()
Get temp factor.
|
double |
getX()
Get coordinate X.
|
double |
getY()
Get coordinate Y.
|
double |
getZ()
Get coordinate Z.
|
void |
setAltLoc(Character c)
Set alternate Location.
|
void |
setBonds(List<Bond> bonds)
Sets the bonds
|
void |
setCharge(short charge)
Set the charge of this atom
|
void |
setCoords(double[] c)
Set the coordinates.
|
void |
setElement(Element e)
Set element of the atom name, e.g.
|
void |
setGroup(Group parent)
Set the back-reference to its parent Group.
|
void |
setName(String s)
Set atom name, e.g.
|
void |
setOccupancy(float occupancy)
Set occupancy.
|
void |
setPDBserial(int i)
Set PDB atom number.
|
void |
setTempFactor(float temp)
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.
|
void setName(String s)
s - a trimmed String specifying the name valuegetName()String getName()
getElement()setName(java.lang.String)void setElement(Element e)
Element.Fee - an Element enumerationgetElement()Element getElement()
Element.CasetElement(org.biojava.nbio.structure.Element)void setPDBserial(int i)
i - an int specifying the PDBserial valuegetPDBserial()int getPDBserial()
setPDBserial(int)void setCoords(double[] c)
c - an array of doubles specifying the coords valuegetCoords()double[] getCoords()
setCoords(double[])void setX(double x)
x - a doublegetX()void setY(double y)
y - a doublegetY()void setZ(double z)
z - a doublegetZ()double getX()
setX(double)double getY()
setY(double)double getZ()
setZ(double)void setAltLoc(Character c)
c - a Character object specifying the alt loc valuegetAltLoc()Character getAltLoc()
setAltLoc(java.lang.Character)void setOccupancy(float occupancy)
occupancy - a float specifying the occupancy valuegetOccupancy()float getOccupancy()
setOccupancy(float)void setTempFactor(float temp)
temp - a float specifying the temp factor valuegetTempFactor()float getTempFactor()
setTempFactor(float)Object clone()
void setGroup(Group parent)
parent - the parent GroupgetGroup()Group getGroup()
setGroup(Group)void addBond(Bond bond)
bond - to be addedgetBonds()List<Bond> getBonds()
Bonds this atom is part of.Bonds or null if no bonds exist for this Atomshort getCharge()
void setCharge(short charge)
Copyright © 2000–2016 BioJava. All rights reserved.