Class SecStrucInfo
- java.lang.Object
-
- org.biojava.nbio.structure.secstruc.SecStrucInfo
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
SecStrucState
public class SecStrucInfo extends java.lang.Object implements java.io.SerializableContainer for the secondary structure information of a single residue. This class is designed to be stored inside an Amino Acid object. It can also contain a back-reference to its parent AA.- Since:
- 4.1.1
- Author:
- Aleix Lafita
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringassignmentstatic java.lang.StringBIOJAVA_ASSIGNMENTSecondary strucuture calculated and assigned by DSSP of BioJavastatic java.lang.StringDSSP_ASSIGNMENTSecondary strucuture parsed from a DSSP output fileprotected Groupparentstatic java.lang.StringPDB_AUTHOR_ASSIGNMENTSecondary strucuture assigned by the PDB authorprotected SecStrucTypetype
-
Constructor Summary
Constructors Constructor Description SecStrucInfo(Group g, java.lang.String ass, SecStrucType t)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetAssignment()GroupgetGroup()SecStrucTypegetType()inthashCode()voidsetType(SecStrucType t)java.lang.StringtoString()
-
-
-
Field Detail
-
PDB_AUTHOR_ASSIGNMENT
public static final java.lang.String PDB_AUTHOR_ASSIGNMENT
Secondary strucuture assigned by the PDB author- See Also:
- Constant Field Values
-
DSSP_ASSIGNMENT
public static final java.lang.String DSSP_ASSIGNMENT
Secondary strucuture parsed from a DSSP output file- See Also:
- Constant Field Values
-
BIOJAVA_ASSIGNMENT
public static final java.lang.String BIOJAVA_ASSIGNMENT
Secondary strucuture calculated and assigned by DSSP of BioJava- See Also:
- Constant Field Values
-
type
protected SecStrucType type
-
assignment
protected java.lang.String assignment
-
parent
protected Group parent
-
-
Constructor Detail
-
SecStrucInfo
public SecStrucInfo(Group g, java.lang.String ass, SecStrucType t)
-
-
Method Detail
-
getType
public SecStrucType getType()
-
setType
public void setType(SecStrucType t)
-
getAssignment
public java.lang.String getAssignment()
-
getGroup
public Group getGroup()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-