|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.proteinshader.structure.io.HelixRecord
public class HelixRecord
This class is used by the PDBLineParser to temporarily store HELIX
records.
HELIX records come before ATOM records in a PDB formatted file.
However, it is better to add Helices to the Structure only after all
Residues in the ATOM records have been added. By adding Helices last,
it is possible for the constructor of a Helix to verify that the
Helix's start Residue and end Residue are really present on the Chain
the Helix is added to.
The PDBLineParser will parse each HELIX record as soon as it is seen,
but will store the info in a HelixRecord object and then use the
HelixRecord objects later to add Helices to the Structure.
Constructor Summary | |
---|---|
HelixRecord(String chainID,
String helixID,
String serialNo,
String startResidueID,
String endResidueID,
HelixEnum type)
Constructs a HelixRecord. |
Method Summary | |
---|---|
String |
getChainID()
Returns the Chain ID. |
String |
getEndResidueID()
Returns the end Residue ID for the Helix. |
String |
getHelixID()
Returns the Helix ID. |
String |
getSerialNo()
Returns the serial number of the Helix. |
String |
getStartResidueID()
Returns the start Residue ID for the Helix. |
HelixEnum |
getType()
Returns the type of Helix. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HelixRecord(String chainID, String helixID, String serialNo, String startResidueID, String endResidueID, HelixEnum type)
chainID
- Chain the Helix belongs to.helixID
- Helix identifier from a PDB HELIX record.serialNo
- serial number of the Helix.startResidueID
- ID of the first AminoAcid in the sequence.endResidueID
- ID of the last AminoAcid in the sequence.type
- type of Helix as a HelixEnum.Method Detail |
---|
public String getChainID()
public String getHelixID()
public String getSerialNo()
public String getStartResidueID()
public String getEndResidueID()
public HelixEnum getType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |