|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectastex.Chain
public class Chain
A class for storing a group of atoms that form part of a protein chain.
| Field Summary | |
|---|---|
static java.lang.String |
undefinedChainName
Undefined resiude name. |
static int |
undefinedChainNumber
Undefined residue number. |
| Method Summary | |
|---|---|
Residue |
addResidue()
Add a residue to the chain. |
static Chain |
create()
Public interface for creating chains. |
Residue |
getCurrentResidue()
Return the current residue. |
char |
getInsertionCode()
Get the insertion code. |
int |
getMaximumResidueId()
Get maximum residue id. |
java.lang.String |
getName()
Get the chain name. |
int |
getNumber()
Get the chain number. |
Molecule |
getParent()
Get the parent. |
Residue |
getResidue(int index)
Return the specified atom. |
int |
getResidueCount()
Return the number of atoms in the molecule. |
void |
removeResidue(Residue res)
Remove a residue from the chain. |
int |
select(int state)
Apply a selection recursively. |
java.lang.String |
selectStatement()
|
void |
setInsertionCode(char code)
Set the insertion code. |
void |
setName(java.lang.String newName)
Set the chain name. |
void |
setNumber(int newNumber)
Set the chain number. |
void |
setParent(Molecule molecule)
Set the parent molecule. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static int undefinedChainNumber
public static java.lang.String undefinedChainName
| Method Detail |
|---|
public static Chain create()
public void setParent(Molecule molecule)
public Molecule getParent()
public void setInsertionCode(char code)
public char getInsertionCode()
public void setName(java.lang.String newName)
public java.lang.String getName()
public void setNumber(int newNumber)
public int getNumber()
public int getResidueCount()
public Residue getResidue(int index)
public Residue addResidue()
public void removeResidue(Residue res)
public Residue getCurrentResidue()
public int getMaximumResidueId()
public java.lang.String selectStatement()
selectStatement in interface Selectablepublic int select(int state)
select in interface Selectable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||