Package pl.poznan.put.pdb
Class PdbResidueIdentifier
java.lang.Object
pl.poznan.put.pdb.PdbResidueIdentifier
- All Implemented Interfaces:
Serializable
,Comparable<ChainNumberICode>
,ChainNumberICode
- Direct Known Subclasses:
ImmutablePdbResidueIdentifier
A residue identifier is used only to address a residue in the structure. To work with residue
content, see
DefaultPdbResidue
.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract String
static PdbResidueIdentifier
from
(ChainNumberICode chainNumberICode) Creates an instance of this class from any implementation ofChainNumberICode
.abstract int
final String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface pl.poznan.put.pdb.ChainNumberICode
compareTo
-
Constructor Details
-
PdbResidueIdentifier
public PdbResidueIdentifier()
-
-
Method Details
-
from
Creates an instance of this class from any implementation ofChainNumberICode
.- Parameters:
chainNumberICode
- The instance of (chain, number, icode) to convert.- Returns:
- An object that can be used to address specific residue.
-
chainIdentifier
- Specified by:
chainIdentifier
in interfaceChainNumberICode
- Returns:
- The identifier of the chain a residue belongs to.
-
residueNumber
@Parameter(order=2) public abstract int residueNumber()- Specified by:
residueNumber
in interfaceChainNumberICode
- Returns:
- The number of a residue in the chain.
-
insertionCode
- Specified by:
insertionCode
in interfaceChainNumberICode
- Returns:
- Optional insertion code, used in some PDB and mmCIF files to represent "inserted" residues while maintaining the original numbering.
-
toString
-