Package pl.poznan.put.pdb
Class PdbModresLine
java.lang.Object
pl.poznan.put.pdb.PdbModresLine
- All Implemented Interfaces:
Serializable,Comparable<ChainNumberICode>,ChainNumberICode
- Direct Known Subclasses:
ImmutablePdbModresLine
@Immutable
public abstract class PdbModresLine
extends Object
implements ChainNumberICode, Serializable
A representation of MODRES line in PDB format.
- See Also:
-
Constructor Details
-
PdbModresLine
public PdbModresLine()
-
-
Method Details
-
parse
Parses text with MODRES line in PDB format.- Parameters:
line- A text with MODRES line in PDB format.- Returns:
- An instance of this class with fields set to parsed values.
-
idCode
- Returns:
- The value of the
idCodeattribute
-
residueName
- Returns:
- The value of the
residueNameattribute
-
chainIdentifier
- Specified by:
chainIdentifierin interfaceChainNumberICode- Returns:
- The value of the
chainIdentifierattribute
-
residueNumber
@Parameter(order=4) public abstract int residueNumber()- Specified by:
residueNumberin interfaceChainNumberICode- Returns:
- The value of the
residueNumberattribute
-
insertionCode
- Specified by:
insertionCodein interfaceChainNumberICode- Returns:
- The value of the
insertionCodeattribute
-
standardResidueName
- Returns:
- The value of the
standardResidueNameattribute
-
comment
- Returns:
- The value of the
commentattribute
-
toString
-
toPdb
- Returns:
- A line in PDB format.
-