Constructor and Description |
---|
AtomImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
returns and identical copy of this object .
|
java.lang.Character |
getAltLoc()
get alternate Location.
|
double[] |
getCoords()
get the coordinates as a double[3] array .
|
java.lang.String |
getFullName()
get full name of atom e.g.
|
long |
getId()
Get the Hibernate database ID.
|
java.lang.String |
getName()
Gets this object's name.
|
double |
getOccupancy()
get occupancy.
|
Group |
getParent()
Returns the parent Group of the Atom.
|
java.lang.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(java.lang.Character c)
set alternate Location.
|
void |
setCoords(double[] c)
the coordinates.
|
void |
setFullName(java.lang.String s)
set full name of atom e.g.
|
void |
setId(long id)
Set the Hibernate database ID.
|
void |
setName(java.lang.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(java.lang.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.
|
java.lang.String |
toString()
string representation.
|
public long getId()
setId(long)
public void setId(long id)
id
- the hibernate idgetId()
public void setName(java.lang.String s)
public java.lang.String getName()
getName
in interface Atom
setName(java.lang.String)
public void setFullName(java.lang.String s)
setFullName
in interface Atom
s
- a String specifying the full name valuegetFullName()
public java.lang.String getFullName()
getFullName
in interface Atom
setFullName(java.lang.String)
public void setPDBserial(int i)
setPDBserial
in interface Atom
i
- an int specifying the PDBserial valuegetPDBserial()
public int getPDBserial()
getPDBserial
in interface Atom
setPDBserial(int)
public void setCoords(double[] c)
setCoords
in interface Atom
c
- an array of doubles specifying the coords valuegetCoords()
public double[] getCoords()
getCoords
in interface Atom
setCoords(double[])
public void setX(double x)
Atom
setX
in interface Atom
x
- a doubleAtom.getX()
public void setY(double y)
Atom
setY
in interface Atom
y
- a doubleAtom.getY()
public void setZ(double z)
Atom
setZ
in interface Atom
z
- a doubleAtom.getZ()
public double getX()
getX
in interface Atom
setX(double)
public double getY()
getY
in interface Atom
setY(double)
public double getZ()
getZ
in interface Atom
setZ(double)
public void setAltLoc(java.lang.Character c)
setAltLoc
in interface Atom
c
- a Character object specifying the alt loc valuegetAltLoc()
public java.lang.Character getAltLoc()
getAltLoc
in interface Atom
setAltLoc(java.lang.Character)
public void setPDBline(java.lang.String s)
setPDBline
in interface Atom
s
- a String specifying the PDBline valuegetPDBline()
public java.lang.String getPDBline()
getPDBline
in interface Atom
setPDBline(java.lang.String)
public java.lang.String toString()
toString
in class java.lang.Object
public void setOccupancy(double occu)
Atom
setOccupancy
in interface Atom
occu
- a double specifying the occupancy valueAtom.getOccupancy()
public double getOccupancy()
Atom
getOccupancy
in interface Atom
Atom.setOccupancy(double)
public void setTempFactor(double temp)
Atom
setTempFactor
in interface Atom
temp
- a double specifying the temp factor valueAtom.getTempFactor()
public double getTempFactor()
Atom
getTempFactor
in interface Atom
Atom.setTempFactor(double)
public java.lang.Object clone()
public void setParent(Group parent)
Atom
setParent
in interface Atom
parent
- the parent GroupAtom.getParent()
public Group getParent()
Atom
getParent
in interface Atom
Atom.setParent(Group)