public class SecStrucElement
extends java.lang.Object
Constructor | Description |
---|---|
SecStrucElement(SecStrucType type,
ResidueNumber start,
ResidueNumber end,
int length,
int index,
java.lang.String chainID) |
Create a new SSE object.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getId() |
Returns the ID of this element.
|
int |
getIndex() |
Returns the index of the SSE for its type.
|
int |
getLength() |
Return the length (number of residues) in the SSE.
|
ResidueRangeAndLength |
getRange() |
Returns the residue range of this SSE.
|
SecStrucType |
getType() |
Returns the
SecStrucType of this element. |
java.lang.String |
toString() |
public SecStrucElement(SecStrucType type, ResidueNumber start, ResidueNumber end, int length, int index, java.lang.String chainID)
type
- object describing the type of SSstart
- first residue of the SSEend
- final residue of the SSElength
- number of residues included in the SSEindex
- chainID
- the chain IDpublic SecStrucType getType()
SecStrucType
of this element.public int getIndex()
public int getLength()
public java.lang.String getId()
public ResidueRangeAndLength getRange()
public java.lang.String toString()
toString
in class java.lang.Object