pid
Class MoleculePart

java.lang.Object
  extended by pid.MoleculePart
All Implemented Interfaces:
java.io.Serializable

public class MoleculePart
extends java.lang.Object
implements java.io.Serializable

If the molecule is part of a bigger molecule, in some occasion, it is described within that class.

Author:
Samuel Croset
See Also:
Serialized Form

Field Summary
private  int end
           
private  int part_molecule_idref
           
private  int start
           
private  int whole_molecule_idref
           
 
Constructor Summary
MoleculePart()
           
 
Method Summary
 int getEnd()
           
 int getPart_molecule_idref()
           
 int getStart()
           
 int getWhole_molecule_idref()
           
 void setEnd(int end)
           
 void setPart_molecule_idref(int part_molecule_idref)
           
 void setStart(int start)
           
 void setWhole_molecule_idref(int whole_molecule_idref)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

whole_molecule_idref

private int whole_molecule_idref

part_molecule_idref

private int part_molecule_idref

start

private int start

end

private int end
Constructor Detail

MoleculePart

public MoleculePart()
Method Detail

getWhole_molecule_idref

public int getWhole_molecule_idref()
Returns:
the id of the whole molecule this molecule is part of.

setWhole_molecule_idref

public void setWhole_molecule_idref(int whole_molecule_idref)

getPart_molecule_idref

public int getPart_molecule_idref()
Returns:
the id of the part, seems that it is the id of this molecule (bit unclear).

setPart_molecule_idref

public void setPart_molecule_idref(int part_molecule_idref)

getStart

public int getStart()
Returns:
the start position of the whole molecule sequence where this molecule is located.

setStart

public void setStart(int start)

getEnd

public int getEnd()
Returns:
the end position of the whole molecule sequence where this molecule is located.

setEnd

public void setEnd(int end)