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
idCode
attribute
-
residueName
- Returns:
- The value of the
residueName
attribute
-
chainIdentifier
- Specified by:
chainIdentifier
in interfaceChainNumberICode
- Returns:
- The value of the
chainIdentifier
attribute
-
residueNumber
@Parameter(order=4) public abstract int residueNumber()- Specified by:
residueNumber
in interfaceChainNumberICode
- Returns:
- The value of the
residueNumber
attribute
-
insertionCode
- Specified by:
insertionCode
in interfaceChainNumberICode
- Returns:
- The value of the
insertionCode
attribute
-
standardResidueName
- Returns:
- The value of the
standardResidueName
attribute
-
comment
- Returns:
- The value of the
comment
attribute
-
toString
-
toPdb
- Returns:
- A line in PDB format.
-