public class SecStrucElement extends Object implements Serializable
Constructor and Description |
---|
SecStrucElement(SecStrucType type,
ResidueNumber start,
ResidueNumber end,
int length,
int index,
String chainID)
Create a new SSE object.
|
Modifier and Type | Method and Description |
---|---|
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. |
String |
toString() |
public SecStrucElement(SecStrucType type, ResidueNumber start, ResidueNumber end, int length, int index, 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 String getId()
public ResidueRangeAndLength getRange()
Copyright © 2000–2019 BioJava. All rights reserved.