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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PdbModresLine()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract StringchainIdentifier()abstract Stringcomment()abstract StringidCode()abstract StringinsertionCode()static PdbModresLineparse(String line)Parses text with MODRES line in PDB format.abstract StringresidueName()abstract intresidueNumber()abstract StringstandardResidueName()StringtoPdb()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
-
parse
public static PdbModresLine parse(String line)
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
@Parameter(order=1) public abstract String idCode()
- Returns:
- The value of the
idCodeattribute
-
residueName
@Parameter(order=2) public abstract String residueName()
- Returns:
- The value of the
residueNameattribute
-
chainIdentifier
@Parameter(order=3) public abstract String 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
@Parameter(order=5) public abstract String insertionCode()
- Specified by:
insertionCodein interfaceChainNumberICode- Returns:
- The value of the
insertionCodeattribute
-
standardResidueName
@Parameter(order=6) public abstract String standardResidueName()
- Returns:
- The value of the
standardResidueNameattribute
-
comment
@Parameter(order=7) public abstract String comment()
- Returns:
- The value of the
commentattribute
-
toPdb
public final String toPdb()
- Returns:
- A line in PDB format.
-
-