|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.sdsc.mbt.StructureComponent
edu.sdsc.mbt.Fragment
Implements a StructureComponent container for secondary structure fragment information. This consists of Residue range and the secondary structure type.
See the "PROGRAMMING NOTE" section of the StructureComponent class.
StructureComponent
,
,
Serialized FormField Summary |
Fields inherited from class edu.sdsc.mbt.StructureComponent |
structure |
Constructor Summary | |
Fragment()
Constructor variant used when there will likely be an atom list. |
|
Fragment(int startResidueIndex,
int endResidueIndex,
java.lang.String conformationType)
Construct a Fragment for the given start Residue index, end Residue index, and conformation type. |
Method Summary | |
java.lang.Object |
clone()
Clone this object. |
void |
copy(StructureComponent structureComponent)
Copy all of the field values from the parameter object into "this". |
boolean |
equals(java.lang.Object o)
One Fragment is equal to another Fragment if the indexes are equal. |
Chain |
getChain()
Get the chain to which this Fragment belongs. |
static java.lang.String |
getClassName()
This method returns the fully qualified name of this class. |
java.lang.String |
getConformationType()
Get the Conformation type for this Fragment. |
int |
getEndResidueIndex()
Get the end Reisude index for this Fragment. |
Residue |
getResidue(int index)
|
int |
getResidueCount()
|
int |
getResidueIndex(Residue residue)
|
int |
getResidueIndexInChain(Residue residue)
|
java.util.Vector |
getResidues()
|
int |
getStartResidueIndex()
Get the start Reisude index for this Fragment. |
java.lang.String |
getStructureComponentType()
This method returns the fully qualified name of this class. |
int |
hashCode()
Return the hashCode for the Fragment. |
boolean |
isVisible()
|
void |
setConformationType(java.lang.String conformationType)
Set the Conformation type for this Fragment. |
void |
setEndResidueIndex(int endResidueIndex)
Set the end Reisude index for this Fragment. |
void |
setResidues(java.util.Vector residues)
|
void |
setStartResidueIndex(int startResidueIndex)
Set the start Reisude index for this Fragment. |
Methods inherited from class edu.sdsc.mbt.StructureComponent |
getStructure, setStructure |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Fragment(int startResidueIndex, int endResidueIndex, java.lang.String conformationType)
public Fragment()
Method Detail |
public Chain getChain()
public void copy(StructureComponent structureComponent)
copy
in class StructureComponent
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class StructureComponent
java.lang.CloneNotSupportedException
public static java.lang.String getClassName()
This name is used by the StructureComponentRegistry class to enable dynamic registration and discovery of new StructureComponent sub-classes/types. The name is also used to create a unique integer indentifier for each type in order to make run-time type comparisons fast.
public java.lang.String getStructureComponentType()
getStructureComponentType
in class StructureComponent
public int hashCode()
public boolean equals(java.lang.Object o)
public void setStartResidueIndex(int startResidueIndex)
public int getStartResidueIndex()
public void setEndResidueIndex(int endResidueIndex)
public int getEndResidueIndex()
public void setConformationType(java.lang.String conformationType)
public java.lang.String getConformationType()
public void setResidues(java.util.Vector residues)
public java.util.Vector getResidues()
public int getResidueCount()
public Residue getResidue(int index)
public int getResidueIndex(Residue residue)
public int getResidueIndexInChain(Residue residue)
public boolean isVisible()
isVisible
in class StructureComponent
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |