|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openscience.cdk.ChemObject
org.openscience.cdk.AtomContainer
org.openscience.cdk.Molecule
org.openscience.cdk.Polymer
org.openscience.cdk.BioPolymer
public class BioPolymer
A BioPolymer is a subclass of a Polymer which is supposed to store additional informations about the Polymer which are connected to BioPolymers.
| Constructor Summary | |
|---|---|
BioPolymer()
Constructs a new Polymer to store the Strands. |
|
| Method Summary | |
|---|---|
void |
addAtom(IAtom oAtom,
IMonomer oMonomer,
IStrand oStrand)
Adds the atom to a specified Strand and a specified Monomer. |
void |
addAtom(IAtom oAtom,
IStrand oStrand)
Adds the atom oAtom to a specified Strand, whereas the Monomer is unspecified. |
Object |
clone()
Clones this AtomContainer object and its content. |
IMonomer |
getMonomer(String monName,
String strandName)
Retrieves a Monomer object by specifying its name. |
int |
getMonomerCount()
Returns the number of monomers present in BioPolymer. |
Collection<String> |
getMonomerNames()
Returns a collection of the names of all Monomers in this
BioPolymer. |
IStrand |
getStrand(String cName)
Retrieves a Monomer object by specifying its name. |
int |
getStrandCount()
Returns the number of strands present in the BioPolymer. |
Collection<String> |
getStrandNames()
Returns a collection of the names of all Strands in this
BioPolymer. |
Map<String,IStrand> |
getStrands()
Returns a Map containing the strands in the Polymer. |
void |
removeStrand(String name)
Removes a particular strand, specified by its name. |
String |
toString()
Returns a one line string representation of this Atom. |
| Methods inherited from class org.openscience.cdk.Polymer |
|---|
addAtom, getMonomer, removeMonomer |
| Methods inherited from class org.openscience.cdk.ChemObject |
|---|
addListener, compare, getBuilder, getFlag, getFlags, getID, getListenerCount, getNotification, getProperties, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty, shallowCopy |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.openscience.cdk.interfaces.IBioPolymer |
|---|
addAtom |
| Methods inherited from interface org.openscience.cdk.interfaces.IPolymer |
|---|
addAtom, getMonomer, removeMonomer |
| Methods inherited from interface org.openscience.cdk.interfaces.IChemObject |
|---|
addListener, getFlag, getFlags, getID, getListenerCount, getNotification, getProperties, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty |
| Methods inherited from interface org.openscience.cdk.interfaces.ICDKObject |
|---|
getBuilder |
| Methods inherited from interface org.openscience.cdk.interfaces.IChemObjectListener |
|---|
stateChanged |
| Constructor Detail |
|---|
public BioPolymer()
| Method Detail |
|---|
public void addAtom(IAtom oAtom,
IStrand oStrand)
addAtom in interface IBioPolymeroAtom - The atom to addoStrand - The strand the atom belongs to
public void addAtom(IAtom oAtom,
IMonomer oMonomer,
IStrand oStrand)
addAtom in interface IBioPolymeroAtom - oMonomer - oStrand - public int getMonomerCount()
getMonomerCount in interface IBioPolymergetMonomerCount in interface IPolymergetMonomerCount in class Polymer
public IMonomer getMonomer(String monName,
String strandName)
getMonomer in interface IBioPolymermonName - The name of the monomer to look forstrandName - The name of the strand to look for
public Collection<String> getMonomerNames()
Monomers in this
BioPolymer.
getMonomerNames in interface IBioPolymergetMonomerNames in interface IPolymergetMonomerNames in class PolymerCollection of all the monomer names.public int getStrandCount()
getStrandCount in interface IBioPolymerpublic IStrand getStrand(String cName)
getStrand in interface IBioPolymercName - The name of the monomer to look for
public Collection<String> getStrandNames()
Strands in this
BioPolymer.
getStrandNames in interface IBioPolymerCollection of all the strand names.public void removeStrand(String name)
removeStrand in interface IBioPolymername - name of the strand to removepublic Map<String,IStrand> getStrands()
IBioPolymer
getStrands in interface IBioPolymerpublic String toString()
Molecule
toString in interface IChemObjecttoString in class Polymer
public Object clone()
throws CloneNotSupportedException
AtomContainer
clone in interface IChemObjectclone in class PolymerCloneNotSupportedException - if the IChemObject cannot be clonedChemObject.shallowCopy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||