Package pl.poznan.put.pdb
Class PdbRemark465Line
- java.lang.Object
-
- pl.poznan.put.pdb.PdbRemark465Line
-
- All Implemented Interfaces:
Serializable,Comparable<ChainNumberICode>,ChainNumberICode
- Direct Known Subclasses:
ImmutablePdbRemark465Line
@Immutable public abstract class PdbRemark465Line extends Object implements ChainNumberICode
A representation of REMARK 465 in PDB format which describes missing residues.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PdbRemark465Line()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract StringchainIdentifier()abstract StringinsertionCode()static booleanisCommentLine(String line)Checks iflineis just a comment or a line with actual information.abstract intmodelNumber()static PdbRemark465Lineparse(String line)Parses a line of text to create an instance of this class.abstract StringresidueName()abstract intresidueNumber()StringtoPdb()PdbResiduetoResidue()Creates an instance ofDefaultPdbResiduemarked as missing and without atoms.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
-
-
-
-
Field Detail
-
PROLOGUE
public static final String PROLOGUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
isCommentLine
public static boolean isCommentLine(String line)
Checks iflineis just a comment or a line with actual information.- Parameters:
line- A line of text.- Returns:
- True if
linecontains a comment only.
-
parse
public static PdbRemark465Line parse(String line)
Parses a line of text to create an instance of this class.- Parameters:
line- A line of text starting with REMARK 465.- Returns:
- An instance of this class
-
modelNumber
@Parameter(order=1) public abstract int modelNumber()
- Returns:
- The value of the
modelNumberattribute
-
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
-
toPdb
public final String toPdb()
- Returns:
- A line in PDB format.
-
toResidue
public final PdbResidue toResidue()
Creates an instance ofDefaultPdbResiduemarked as missing and without atoms.- Returns:
- An instance of a missing residue.
-
-