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
@Immutable public abstract class PdbResidueIdentifier extends Object implements ChainNumberICode
A residue identifier is used only to address a residue in the structure. To work with residue content, seeDefaultPdbResidue.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PdbResidueIdentifier()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract StringchainIdentifier()static PdbResidueIdentifierfrom(ChainNumberICode chainNumberICode)Creates an instance of this class from any implementation ofChainNumberICode.abstract StringinsertionCode()abstract intresidueNumber()StringtoString()-
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
-
-
-
-
Method Detail
-
from
public static PdbResidueIdentifier from(ChainNumberICode chainNumberICode)
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
@Parameter(order=1) public abstract String chainIdentifier()
- Specified by:
chainIdentifierin interfaceChainNumberICode- Returns:
- The identifier of the chain a residue belongs to.
-
residueNumber
@Parameter(order=2) public abstract int residueNumber()
- Specified by:
residueNumberin interfaceChainNumberICode- Returns:
- The number of a residue in the chain.
-
insertionCode
@Parameter(order=3) public abstract String insertionCode()
- Specified by:
insertionCodein interfaceChainNumberICode- Returns:
- Optional insertion code, used in some PDB and mmCIF files to represent "inserted" residues while maintaining the original numbering.
-
-