edu.sdsc.mbt
Class Helix

java.lang.Object
  extended byedu.sdsc.mbt.StructureComponent
      extended byedu.sdsc.mbt.Conformation
          extended byedu.sdsc.mbt.Helix
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class Helix
extends Conformation
implements java.lang.Cloneable, java.io.Serializable

Implements a StructureComponent container for Helix conformation (secondary structure) data.

See the "PROGRAMMING NOTE" section of the StructureComponent class.

Author:
John L. Moreland
See Also:
Structure, Conformation,

, Serialized Form


Field Summary
 boolean righthand
          TRUE=righthanded, FALSE=lefthanded
 
Fields inherited from class edu.sdsc.mbt.Conformation
end_chain, end_compound, end_residue, name, start_chain, start_compound, start_residue, TYPE_UNDEFINED
 
Fields inherited from class edu.sdsc.mbt.StructureComponent
structure
 
Constructor Summary
Helix()
          Creates a new Helix object.
 
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".
static java.lang.String getClassName()
          This method returns the fully qualified name of this class.
 java.lang.String getStructureComponentType()
          This method returns the fully qualified name of this class.
 boolean isVisible()
           
 
Methods inherited from class edu.sdsc.mbt.StructureComponent
getStructure, setStructure
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

righthand

public boolean righthand
TRUE=righthanded, FALSE=lefthanded

Constructor Detail

Helix

public Helix()
Creates a new Helix object.

Method Detail

getClassName

public static java.lang.String getClassName()
Description copied from class: StructureComponent
This method returns the fully qualified name of this class. Sub-classes must override this method (This method should really be declared abstract, but unfortunately Java does not allow a method to be both static AND abstract). Instead, this base class implementation will through an UnsupportedOperationException.

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 instances of any sublcass dynamically from this name.


getStructureComponentType

public java.lang.String getStructureComponentType()
This method returns the fully qualified name of this class.

Specified by:
getStructureComponentType in class StructureComponent

copy

public void copy(StructureComponent structureComponent)
Copy all of the field values from the parameter object into "this".

Overrides:
copy in class Conformation

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Clone this object.

Overrides:
clone in class Conformation
Throws:
java.lang.CloneNotSupportedException

isVisible

public boolean isVisible()
Specified by:
isVisible in class StructureComponent